This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Only generate above-Uni warning for \p{}, \P{}
authorKarl Williamson <public@khwilliamson.com>
Wed, 18 Jul 2012 23:22:33 +0000 (17:22 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 19 Jul 2012 15:39:07 +0000 (09:39 -0600)
commit5073ffbd0df5f82154fd580e53686ef82b68748d
treeb88c0eadc7d8b413190ecec6d23809ef1495b286
parent4f3e8b0f484b99e3e529e1003208d8428d68f277
Only generate above-Uni warning for \p{}, \P{}

This warning was being generated inappropriately during some internal
operations, such as parsing a program; spotted by Tom Christiansen.

The solution is to move the check for this situation out of the common
code, and into the code where just \p{} and \P{} are handled.

As mentioned in the commit's perldelta, there remains a bug
[perl #114148], where no warning gets generated when it should
ext/XS-APItest/t/handy.t
pod/perldelta.pod
regcomp.c
regcomp.h
regexec.c
t/lib/warnings/utf8
utf8.c