Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Unable to constrain the effect of a negative lookaheadby AnomalousMonk (Archbishop) |
on Apr 14, 2022 at 20:17 UTC ( [id://11142989]=note: print w/replies, xml ) | Need Help?? |
Here's another approach that avoids look-arounds.
You will have to elaborate the $rx_ab and $rx_stop regexes until they match what you want.
Update: Because of the way Perl ordered alternations work, it seems to me that the order of the alternation used above should be Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom
|
|