W
W. Bauer
Hello
I don't get my first s// working: I would like to replace spaces by ; but
only if the space is not within double quotes where some can be between the
space and the quotes. Example:
"abc def" a -->"abc def";a
[^"][^a-z]+[\s][^a-z]+[^"]
matches these spaces correctly. But
s/[^"][^a-z]+[\s][^a-z]+[^"]/;/
does not work properly. Thanks for any hint,
W. Bauer
I don't get my first s// working: I would like to replace spaces by ; but
only if the space is not within double quotes where some can be between the
space and the quotes. Example:
"abc def" a -->"abc def";a
[^"][^a-z]+[\s][^a-z]+[^"]
matches these spaces correctly. But
s/[^"][^a-z]+[\s][^a-z]+[^"]/;/
does not work properly. Thanks for any hint,
W. Bauer