![]() |
|
The stupid question is the question not asked | |
PerlMonks |
regex for strings with escaped quotesby morgon (Priest) |
on Feb 12, 2019 at 15:10 UTC ( #1229800=perlquestion: print w/replies, xml ) | Need Help?? |
morgon has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I am trying to construct a regex that extracts the string beween two quotes with the complication that that string may contain backslash-escaped quotes. To illustrate:
I hope that is understandable... I tried to do this with negative lookbehinds, but I attempt failed with "Variable length lookbehind not implemented", so am looking for some help here. Many thanks!
Back to
Seekers of Perl Wisdom
|
|