![]() |
|
No such thing as a small change | |
PerlMonks |
Re: Global match and capture group in look-ahead == under-populated "@-"? (updated)by LanX (Sage) |
on Nov 19, 2022 at 14:19 UTC ( #11148257=note: print w/replies, xml ) | Need Help?? |
https://perldoc.perl.org/perlvar#@-
editIt's hard to tell which result you expect, but the way pos is changed after replacing a zero length assertion is tricky. It's meant to avoid endless loops.
updatethis may shed some light
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|