summaryrefslogtreecommitdiff
path: root/t/re
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-02-14 12:04:21 -0700
committerKarl Williamson <public@khwilliamson.com>2012-02-14 12:25:46 -0700
commit5d103fec94a383c3e6812c3cb735356fffe54e7c (patch)
tree5dd547b24f6dfec974e09b48dc80f8b10c53f629 /t/re
parent2898ff73ee9d2c2fdd5b62a95fd4d2077d27bd9f (diff)
downloadperl-5d103fec94a383c3e6812c3cb735356fffe54e7c.tar.gz
perl #110648, single Unicode prop in inverted class not getting inverted
Commit b6c46382308166d54090e3d8e385710664693ac0 introduced a bug when an inverted bracketed character class consists solely of a Unicode property, that property wasn't getting inverted outside the Latin1 range. This was due to an optimization that should have been disabled for this case.
Diffstat (limited to 't/re')
-rw-r--r--t/re/re_tests3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/re/re_tests b/t/re/re_tests
index 4eafaf79bc..e7680c9c23 100644
--- a/t/re/re_tests
+++ b/t/re/re_tests
@@ -1572,4 +1572,7 @@ abc\N{def - c - \\N{NAME} must be resolved by the lexer
/[[:lower:]]/i \N{U+3400} n - -
/[[:upper:]]/i \N{U+01BB} n - -
+# [perl #110648]
+[^\p{Alphabetic}] \x{100} n - -
+
# vim: softtabstop=0 noexpandtab