in reply to Re: substitute characters in the RHS of a search & replace
in thread substitute characters in the RHS of a search & replace
Ah - I forgot you could do s/// on $1 - 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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: substitute characters in the RHS of a search & replace
by LanX (Saint) on Mar 08, 2013 at 23:57 UTC | |
by AnomalousMonk (Archbishop) on Mar 09, 2013 at 19:35 UTC | |
by LanX (Saint) on Mar 09, 2013 at 20:07 UTC | |
by AnomalousMonk (Archbishop) on Mar 09, 2013 at 21:04 UTC |