This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regexec.c: Don't skip trying POSIX class if [] has individ char
authorKarl Williamson <public@khwilliamson.com>
Fri, 10 Jan 2014 05:06:24 +0000 (22:06 -0700)
committerKarl Williamson <public@khwilliamson.com>
Fri, 10 Jan 2014 05:15:08 +0000 (22:15 -0700)
commitee48a02a4401532d19a7ebac587685692b382dea
treeddb06e4198693713b2bd1e21207d337ecf4cdc60
parent8961ec415a480cac831348374bfebace980b0a81
regexec.c: Don't skip trying POSIX class if [] has individ char

commit b99851e1941e002dd4816ee6c76fd49bbee1d7f3
Author: Karl Williamson <public@khwilliamson.com>
Date:   Wed Dec 4 10:06:04 2013 -0700

    PATCH: [perl #120675] Unexpected tainting via regex using locale

introduced a bug in which under /li matching a bracketed character class
that contains both characters and POSIX classes would skip matching
against any POSIX class.  The example in the added test illustrates the
problem:

    "h" =~ /[g\w]/li;    # Failed! in C locale
regexec.c
t/run/locale.t