|XP is just a number|
Re^3: substitute characters in the RHS of a search & replaceby LanX (Abbot)
|on Mar 08, 2013 at 23:57 UTC||Need Help??|
> I guess the /r switch allows you to do it as it doesn't modify $1. Thanks, good call. I'll check it's supported on my version of perl.
If not try this instead:
added a /g to allow multiple chunks to be processed.
But to improve readability I would rather opt against one-liner and call a function in the replacement part
and here a generic function to simulate /r