in reply to Re^5: Recursive substitution
in thread Recursive substitution

Sorry, but you can't execute another s/// without /e, (?{}) or (??{}).
Since the regex engine isn't re-entrant, I can't execute another s/// even with /e, (?{}), or (??{}), right?

Replies are listed 'Best First'.
Re^7: Recursive substitution
by ikegami (Pope) on Nov 10, 2009 at 19:37 UTC
    That is my understanding. You can have recursive patterns, but I don't think you can enter another match when one is already in progress.