summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-10-13 19:50:10 -0600
committerKarl Williamson <public@khwilliamson.com>2011-10-13 20:44:11 -0600
commit7b8a80699e4c6a8f740ccf2bc557dd61da67fe14 (patch)
tree31720464d882bea6ae97e81329d24dfff2137ea9
parent1e91595577c5e985e96ac2212262825aeb0980fc (diff)
downloadperl-7b8a80699e4c6a8f740ccf2bc557dd61da67fe14.tar.gz
t/re/re_tests: Add tests for multi-char fold bug
This problem has to do with two multi-char folded constants in a row in the string being matched. Spotted by Tom Christiansen
-rw-r--r--t/re/re_tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/re/re_tests b/t/re/re_tests
index 5a4eaedb8e..5a9b5db095 100644
--- a/t/re/re_tests
+++ b/t/re/re_tests
@@ -1541,4 +1541,9 @@ abc\N{def - c - \\N{NAME} must be resolved by the lexer
# RT #99928
/^\R\x0A$/ \x0D\x0A yT $& \x0D\x0A
+/ff/i \x{FB00}\x{FB01} y $& \x{FB00}
+/ff/i \x{FB01}\x{FB00} yT $& \x{FB00}
+/fi/i \x{FB01}\x{FB00} y $& \x{FB01}
+/fi/i \x{FB00}\x{FB01} yT $& \x{FB01}
+
# vim: softtabstop=0 noexpandtab