develooper Front page | perl.perl5.porters | Postings from December 2012

Is this a known unicode bug in 5.16.2 ?

Thread Next
From:
Anders Melchiorsen
Date:
December 19, 2012 21:43
Subject:
Is this a known unicode bug in 5.16.2 ?
Message ID:
50D234E8.5020604@jobindex.dk
Sorry for the vague subject, but I have no idea how to describe what's 
happening here:

         =====
use feature 'unicode_strings';

my $x = "\x{263a}";
$x =~ /$x/;

my $text = "Perl";
die if $text !~ /P.*$/i;
         =====

The program does nothing (as expected) in perl 5.14.2, but dies in perl 
5.16.2.

Is it a known issue, or should I file a bug report?


Thanks,
Anders.


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