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

regex character ranges on EBCDIC

Thread Next
From:
Karsten Sperling
Date:
February 23, 2001 11:51
Subject:
regex character ranges on EBCDIC
Message ID:
"iraun1.ira.0070401:010223.195112"@ira.uka.de
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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About