The following ought to work in any vaguely recent version of Perl...
#!/usr/bin/env perl use strict; use warnings; my $string = "ABC"; $string =~ s/\x{41}/\x{61}/g; print $string, "\n"; # aBC
In reply to Re: Hexadecimal character references not understood inside a regex
by tobyink
in thread Hexadecimal character references not understood inside a regex
by silentq
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |