Your comment appears to be what I needed to hear as changing the non-greedy match from /".*?"/ to /"[^"]*?"/ appears to work correctly. The negated character class was the trick.
I'm still a bit confused about why there is such a difference in what is matched, but I'm think about it some more.
Thanks for pointing me in the right direction.
In reply to Re^2: initializing internal regex variables?
by Anonymous Monk
in thread initializing internal regex variables?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |