develooper Front page | perl.perl5.porters | Postings from February 2001

regex character ranges on EBCDIC

Thread Next
Karsten Sperling
February 23, 2001 11:51
regex character ranges on EBCDIC
Message ID:
While reading regcomp.c, i found something that might be
rather evil. However i don't have access to an EBCDIC
machine to verify it, so could someone please run this line
on EBCDIC and tell me what it prints?

  $_=qq/\x8E/; print/[\x89-\x91]/, q/,/ ,tr/\x89-\x91//d

Thanks, Karsten

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About