B
Buck
I have a routine that recursively removes embedded parentheses and it
works just fine. But when I adapt that regex to do the same thing
with single quotes, it doesn't work. It matches two quoted strings,
not the inner one.
E.g. the regex below
'[^'']*'
should match inner, but it matches left and right.
what am I doing wrong?
' left ' inner ' right '
works just fine. But when I adapt that regex to do the same thing
with single quotes, it doesn't work. It matches two quoted strings,
not the inner one.
E.g. the regex below
'[^'']*'
should match inner, but it matches left and right.
what am I doing wrong?
' left ' inner ' right '