On Wed, Jun 29, 2022 at 9:50 AM G.W. Haywood via perl5-porters < perl5-porters@perl.org> wrote: > Hi there, > > On Wed, 29 Jun 2022, James Raspass wrote: > > > ... > > I feel like we could replace this pattern with a dedicated flag that > > is clearer and potentially faster, /gg, e.g. > > > > s/(\d)(\d\d\d)(?!\d)/$1,$2/gg; > > ... > > Thoughts? > > I don't see any pressing need. > > It would just be asking for problems. > > I prefer it the way it is. > > There are more important things to be getting on with. > I have had a couple instances where this would be useful. But I have to agree, it is not worth a feature for when the use case is rare and one can simply loop. Additionally I would have a concern that such a feature would commonly lead to infinite looping. -DanThread Previous