Hi, I am running a EastAsianWidth property test on z/OS using perl-5.8.6.
$str = chr(0xA1).chr(0xA2);
if ($str =~ /(\p{EastAsianWidth: A}+)/)
{
print "match";
}
else
{
print "no match";
}First, is the above regex supposed to mean this : does $str contain chars one or more of which has a "EastAsianWidth: Ambiguous" property ?
Also, if the regex is changed to /(\p{EastAsianWidth: a}+)/, I dont get a match either. Is a lowercase 'a' in the regex synonymous with uppercase 'A' ?
The EastAsianWidth.txt mentions that 0xA1 has a property 'A'. So, the above should match.
Any thoughts are welcome.
Thanks in advance, Rajarshi.
_________________________________________________________________
News, views and gossip. http://www.msn.co.in/Cinema/ Get it all at MSN Cinema!
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>
