in reply to How to include escape sequence characters in regular expressions?
I'm not a pro at this but here is where I might start playing around with it (the character classes suggested already was also a good idea).
perl -Mcharnames=all -le 'printf "%5d -> \\x{%04x} -> %s\n", $_, $_, c +harnames::viacode($_) for 4,127' 4 -> \x{0004} -> END OF TRANSMISSION 127 -> \x{007f} -> DELETE
|
|---|