in reply to Re: Recursive substitution
in thread Recursive substitution

As indicated in my post (even the first version, not one updated out from under you—sorry), I did try modifying pos, to (as you point out) no avail. My question was just whether there was some other clever approach that I was missing.

Replies are listed 'Best First'.
Re^3: Recursive substitution
by ikegami (Patriarch) on Nov 10, 2009 at 15:41 UTC

    I did try modifying pos

    Yes, but not within the regex. Whatever it is you want to do, you said you wanted to do it within a regex.

    My question was just whether there was some other clever approach that I was missing.

    Again, another approach to do what?