in reply to Help with Double Double Quotes regular expression
I had that problem when writing SQL::Tokenizer. I ended with this:
".*?(?:(?:""){1,}"|(?<!["\\])"(?!")|\\"{2})
I had to prevent also scaped quotes -\" and all other cases you mentioned.
Igor 'izut' Sutton
your code, your rules.
|
---|
In Section
Seekers of Perl Wisdom