[Bug 982131] New: Regular expression in regular expression code block corrupts back-reference

bugzilla at redhat.com bugzilla at redhat.com
Mon Jul 8 08:25:34 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=982131

            Bug ID: 982131
           Summary: Regular expression in regular expression code block
                    corrupts back-reference
           Product: Fedora
           Version: 18
         Component: perl
          Severity: unspecified
          Priority: unspecified
          Assignee: mmaslano at redhat.com
          Reporter: ppisar at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: cweyl at alumni.drew.edu, iarnell at gmail.com,
                    jplesnik at redhat.com, kasal at ucw.cz, lkundrak at v3.sk,
                    mmaslano at redhat.com,
                    perl-devel at lists.fedoraproject.org, ppisar at redhat.com,
                    psabata at redhat.com, rc040203 at freenet.de,
                    tcallawa at redhat.com

$ perl -e 'q{ab} =~ /^(a(?{ q{x} =~ m{x}})b)(?{ warn qq{inner undef!\n} unless
defined $1 })/'
inner undef!

Affected: perl-5.16.3-244.fc18.x86_64

Fixed with upstream commit:

commit f5df269c5cef57294662d0b1f80a468b91f13643
Author: Father Chrysostomos <sprout at cpan.org>
Date:   Fri Jul 5 23:59:46 2013 -0700

-- 
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=vObzZ4to96&a=cc_unsubscribe



More information about the perl-devel mailing list