in reply to Re^2: negative lookbehind and VERY strange capture
in thread negative lookbehind and VERY strange capture

FWIW, please note that  /^"((?:[^"\\]|\\["\\])+)"$/ does not match the empty string:

c:\@Work\Perl\monks>perl -wMstrict -le "my $emptystring = '\"\"'; print '+ match' if $emptystring =~ /^\"((?:[^^\"\\]|\\[\"\\])+)\"$/; print '* match' if $emptystring =~ /^\"((?:[^^\"\\]|\\[\"\\])*)\"$/; " * match
(Please forgive all the extra backslashes and ignore the extra  ^ in [^^\"\\]. These are Windoze command line artifacts.)


Give a man a fish:  <%-{-{-{-<