[Bug 889121] New: perl-5.16: UTF-8 flag poisons consequent regular expression evaluation if unicode_strings feature is enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: ppisar@xxxxxxxxxx

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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux