|No such thing as a small change|
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??|
It'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.
this may shed some light
In Section Seekers of Perl Wisdom