go ahead... be a heretic | |
PerlMonks |
Re: Captured single quote results in captured phantom quoteby sn1987a (Deacon) |
on Aug 25, 2016 at 12:32 UTC ( [id://1170418]=note: print w/replies, xml ) | Need Help?? |
The observed behavior is correct. The named captures do not prevent the contents from saved to the numbered capture variables. So in your first three regexs, element 1 gets the entire quoted string and element 2 gets the first quote.
In Section
Seekers of Perl Wisdom
|
|