summaryrefslogtreecommitdiff
path: root/ext/pcre/pcrelib/testdata/testinput1
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/pcrelib/testdata/testinput1')
-rw-r--r--ext/pcre/pcrelib/testdata/testinput141
1 files changed, 39 insertions, 2 deletions
diff --git a/ext/pcre/pcrelib/testdata/testinput1 b/ext/pcre/pcrelib/testdata/testinput1
index 88ff5bf8e7..6cb400bd70 100644
--- a/ext/pcre/pcrelib/testdata/testinput1
+++ b/ext/pcre/pcrelib/testdata/testinput1
@@ -1474,11 +1474,11 @@
/(abc)\323/
abc\xd3
-/(abc)\500/
+/(abc)\100/
abc\x40
abc\100
-/(abc)\5000/
+/(abc)\1000/
abc\x400
abc\x40\x30
abc\1000
@@ -3847,4 +3847,41 @@
** Failers
abcddefg
+/(?<![^f]oo)(bar)/
+ foobarX
+ ** Failers
+ boobarX
+
+/(?<![^f])X/
+ offX
+ ** Failers
+ onyX
+
+/(?<=[^f])X/
+ onyX
+ ** Failers
+ offX
+
+/^/mg
+ a\nb\nc\n
+ \
+
+/(?<=C\n)^/mg
+ A\nC\nC\n
+
+/(?:(?(1)a|b)(X))+/
+ bXaX
+
+/(?:(?(1)\1a|b)(X|Y))+/
+ bXXaYYaY
+ bXYaXXaX
+
+/()()()()()()()()()(?:(?(10)\10a|b)(X|Y))+/
+ bXXaYYaY
+
+/[[,abc,]+]/
+ abc]
+ a,b]
+ [a,b,c]
+
/ End of testinput1 /