There's more than one way to do things | |
PerlMonks |
Re: regex is not working as I intendedby hippo (Bishop) |
on Jan 18, 2018 at 23:23 UTC ( [id://1207490]=note: print w/replies, xml ) | Need Help?? |
Why are the first two alternatives not capturing quoted test strings? Because your position is still at the string start so you can't use a lookbehind (or if you do it will never match). Simpler just to use this:
In Section
Seekers of Perl Wisdom
|
|