|laziness, impatience, and hubris|
Re: RegExp: pos management in global substitutionby Anonymous Monk
|on Sep 03, 2011 at 12:59 UTC||Need Help??|
Can this be done with s/// operator without e modifier in one approach?
Probably, but its a
1. After success substitution return to the position where substitution started and try to substitute again...
Not sure , but I don't think you can without /e
Here is my non working advanced attempt
I'm probably not understanding (?<=pattern) correctly
The following works