Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: while-loop regex substitution with 'g' option

by ibm1620 (Hermit)
on Apr 22, 2024 at 04:55 UTC ( [id://11159022]=note: print w/replies, xml ) Need Help??


in reply to Re: while-loop regex substitution with 'g' option
in thread while-loop regex substitution with 'g' option

Right. When the substitution can produce new matches, you need to restart the scan from the beginning. Strictly speaking, then, is /g needed? hm.
  • Comment on Re^2: while-loop regex substitution with 'g' option

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11159022]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2025-07-07 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.