in reply to Stupid question about regex with string followed variable in replacement

I fully and wholeheartedly agree with Rolf that this was not a stupid question at all (I remember having has a similar problem years ago), but your explanation of the problem could have been clearer. I did not understand at all the problem until I read your code.

  • Comment on Re: Stupid question about regex with string followed variable in replacement

Replies are listed 'Best First'.
Re^2: Stupid question about regex with string followed variable in replacement
by Anonymous Monk on May 19, 2013 at 23:24 UTC

    Yep, I know :(

    I was thinking how to explain it better, but without luck. So I just create sample code to make it clear.

    Sorry :)