http://qs321.pair.com?node_id=299278


in reply to •Re: Re:^4 positions of all regexp matches
in thread positions of all regexp matches

Maybe it's something to do with the RE engine trying some optimization.

The RE engine can execute a code block more than once in a single pattern match attempt, and this would lead to multiple entries for a given pos.