Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=889121

            Bug ID: 889121
           Summary: perl-5.16: UTF-8 flag poisons consequent regular
                    expression evaluation if unicode_strings feature is
                    enabled
           Product: Fedora
           Version: rawhide
         Component: perl
          Severity: unspecified
          Priority: unspecified
          Reporter: ppi...@redhat.com

This code dies in perl 5.16.2 and it shouldn't:

#!/usr/bin/perl
use strict;
use warnings;
use feature 'unicode_strings';

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

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

This is regression since perl 5.14.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=lh99PbpEy7&a=cc_unsubscribe
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to