There's more than one way to do things | |
PerlMonks |
Re^4: regex gotcha moving from 5.8.8 to 5.30.0?by rsFalse (Chaplain) |
on Feb 11, 2021 at 22:40 UTC ( [id://11128279]=note: print w/replies, xml ) | Need Help?? |
Hm. May some other variants help? Or are they way slower?.... "\G \s*? ^ \s*" # non-greedy "\G (?= \s* ^ ) \s*" # look-ahead Upd. And do they reproduce regression? Upd. May that factoring out of "\s* ^ \s*" help?
In Section
Seekers of Perl Wisdom
|
|