perl-unicode

Re: Questions about Unicode Support in 5.6.1

2002-07-09 07:30:10
Jarkko,
That's for sending me the link to your document.
I've been scanning it and I see that you say "...regular expressions still 
do not work with Unicode in 5.6.1".

Is this true? Don't things like:
$myYen = "\x{FFE5}";
$myYen =~ m/\x{FFE5}/ ? print "Match": print "No Match";
->>>>>>Match

or
$myCyr = "\x{0407}";
$myCyr =~ m/\p{InCyrillic}/ ? print ...... etc
->>>>>Match
work?

Or is it just that more complex regex don't work? Could you tell me where 
the regex's don't work please.

Try this. (How complex is this?)

$myYen = "\x{FFE5}";
$myYen =~ m/\x{FFE5}+$/ ? print "Match": print "No Match";

Thank you for your effort.

Din K.


From: Jarkko Hietaniemi <jhi(_at_)iki(_dot_)fi>
To: Dinesh Kristenson <dinkrist(_at_)hotmail(_dot_)com>
CC: andreas(_dot_)koenig(_at_)anima(_dot_)de, 
perl-unicode(_at_)perl(_dot_)org
Subject: Re: Questions about Unicode Support in 5.6.1
Date: Mon, 8 Jul 2002 01:46:44 +0300

You may want to read the new Unicode intro that will be part of
the Perl 5.8.0 release, I have a copy online for easy access:
http://www.iki.fi/jhi/perluniintro.pod

Regards,
SADAHIRO Tomoyuki

<Prev in Thread] Current Thread [Next in Thread>