perl-unicode

Re: Perl 5.8.0 utf8/regex bug

2004-02-21 16:30:06
Not sure which list to post this to since it relates to Perl unicode, but it's also a bug of sorts...

Here's the test script that reproduces the problem, the perl -V report of the system with the problem, followed by the results from the test script. After that is another perl -V report from another Linux machine that does not exhibit the problem (it now has Encode 1.99, but was running an older version of Encode-- I want to say it was 1.75; that older version did not exhibit this problem either):

I believe this bug was fixed somewhere between Perl 5.8.0 and 5.8.1 (it is already fixed in Mac OS X 10.3.2's 5.8.1-RC3 plus change, and is still fixed in 5.8.2 and 5.8.3 I have compiled for myself). So yes, it was a bug in Perl, not Encode (which makes sense, Encode doesn't diddle with regex matching as such).

--
Jarkko Hietaniemi <jhi(_at_)iki(_dot_)fi> http://www.iki.fi/jhi/ "There is this special
biologist word we use for 'stable'.  It is 'dead'." -- Jack Cohen


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