summaryrefslogtreecommitdiff
path: root/testdata/testinput12
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/testinput12')
-rw-r--r--testdata/testinput1239
1 files changed, 39 insertions, 0 deletions
diff --git a/testdata/testinput12 b/testdata/testinput12
index 14a7715..b0ab909 100644
--- a/testdata/testinput12
+++ b/testdata/testinput12
@@ -343,4 +343,43 @@
/./utf
\x{110000}
+/(*UTF)abý¿¿¿¿¿z/B
+
+/abý¿¿¿¿¿z/utf
+
+/[\W\p{Any}]/B
+ abc
+ 123
+
+/[\W\pL]/B
+ abc
+ \x{100}
+ \x{308}
+\= Expect no match
+ 123
+
+/[\s[:^ascii:]]/B,ucp
+
+/\pP/ucp
+ \x{7fffffff}
+
+# A special extra option allows excaped surrogate code points in 32-bit mode,
+# but subjects containing them must not be UTF-checked. These patterns give
+# errors in 16-bit mode.
+
+/\x{d800}/I,utf,allow_surrogate_escapes
+ \x{d800}\=no_utf_check
+
+/\udfff\o{157401}/utf,alt_bsux,allow_surrogate_escapes
+ \x{dfff}\x{df01}\=no_utf_check
+
+# This has different starting code units in 8-bit mode.
+
+/^[^ab]/IB,utf
+ c
+ \x{ff}
+ \x{100}
+\= Expect no match
+ aaa
+
# End of testinput12