summaryrefslogtreecommitdiff
path: root/testdata/testinput18
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/testinput18')
-rw-r--r--testdata/testinput1833
1 files changed, 32 insertions, 1 deletions
diff --git a/testdata/testinput18 b/testdata/testinput18
index e31b96e..755a0c9 100644
--- a/testdata/testinput18
+++ b/testdata/testinput18
@@ -5,7 +5,7 @@
#forbid_utf
#pattern posix
-# Test invalid options
+# Test some invalid options
/abc/auto_callout
@@ -14,6 +14,10 @@
/abc/
abc\=partial_hard
+
+/a(())bc/parens_nest_limit=1
+
+/abc/allow_surrogate_escapes,max_pattern_length=2
# Real tests
@@ -103,4 +107,31 @@
/\[A]{1000000}**/expand,regerror_buffsize=32
+//posix_nosub
+ \=offset=70000
+
+/(?=(a\K))/
+ a
+
+/^d(e)$/posix
+ acdef\=posix_startend=2:4
+ acde\=posix_startend=2
+\= Expect no match
+ acdef
+ acdef\=posix_startend=2
+
+/^a\x{00}b$/posix
+ a\x{00}b\=posix_startend=0:3
+
+/"A" 00 "B"/hex
+ A\x{00}B\=posix_startend=0:3
+
+/ABC/use_length
+ ABC
+
+/a\b(c/literal,posix
+ a\\b(c
+
+/a\b(c/literal,posix,dotall
+
# End of testdata/testinput18