Hmm okay, was persuaded octal sequences were all beginning with \0... Sorry :-) Le 13/04/2010 18:11, Zefram a écrit : > David Tylski wrote: > >> "cat" =~ /\143\x61\x74/ # matches, but a weird way to spell cat >> This does not match in ASCII, probably a double typo. >> > $ perl -lwe 'print "cat" =~ /\143\x61\x74/' > 1 > > Octal 143 *is* hex 63, which is ASCII "c". > > -zefram >Thread Previous