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(a)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