$str =~ /(?:(?|(?:\")(?:[^\\\"]*(?:\\.[^\\\"]*)*)(?:\")))/;
It's missing the capture group that I added: /($RE{delimited}{-delim=>'"'})/
In reply to Re^3: regex for strings with escaped quotes
by haukex
in thread regex for strings with escaped quotes
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |