in reply to substituting 1 escaped character for another
that works for me. could you show us how it doesn't work for you (SSCCE):
__LINUX__ sh-3.00$ perl -le 'print $x = "healthy(b"; $x =~ s/\(/\</; print $x' healthy(b healthy<b sh-3.00$ perl -v This is perl, v5.8.5 built for i386-linux-thread-multi ... __WINDOWS__ C:\>perl -le "print $x = 'healthy(b'; $x =~ s/\(/\</; print $x" healthy(b healthy<b C:\>perl -v This is perl 5, version 26, subversion 2 (v5.26.2) built for MSWin32-x +64-multi-thread ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: substituting 1 escaped character for another
by choroba (Cardinal) on Jul 26, 2018 at 17:49 UTC |