i.e:.
echo H#97llo | MagicPerlCommand
Stdout:
Hallo
were MagicPerlCommand something like
perl -pnle "s/#(\d+)/chr(\1)/ge"
(but this does not work).
Change \1to $1in your MagicPerlCommand. The \digitbackreference style does not work when a replacement expression is evaluated (i.e. s///e).
\1
$1
\digit
s///e
This worked for me on Windows and Linux.
According to the answer j_random_hackeryou should use $1, not \1.
j_random_hacker
, '/e' , Perl, . Perl, Perl , .
/e