summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-09-15 17:10:39 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-09-15 17:10:39 +0000
commite760cb60f77c5d68a9c06ae2761ddcf7bb6e1d1d (patch)
treedaa825c003e55f6782dff5912c3ac6206bbe9ba7 /testdata
parent7d7e8a2881503eeabd7c7a73cf5ad7cc13d341ce (diff)
downloadpcre2-e760cb60f77c5d68a9c06ae2761ddcf7bb6e1d1d.tar.gz
Add "allvector" to pcre2test.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1007 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput29
-rw-r--r--testdata/testoutput232
2 files changed, 41 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index fc94b35..0d380f5 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -5505,4 +5505,13 @@ a)"xI
bbc
xbc
+/a(b)c|xyz/g,allvector,replace=<$0>
+ abcdefabcpqr\=ovector=4
+ abxyz\=ovector=4
+ abcdefxyz\=ovector=4
+
+/a(b)c|xyz/allvector
+ abcdef\=ovector=4
+ abxyz\=ovector=4
+
# End of testinput2
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index ecf0d80..52c42a9 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -16763,6 +16763,38 @@ Subject length lower bound = 1
0: b
0+ c
+/a(b)c|xyz/g,allvector,replace=<$0>
+ abcdefabcpqr\=ovector=4
+ 2: <abc>def<abc>pqr
+ 0: 6 9
+ 1: 7 8
+ 2: <unchanged>
+ 3: <unchanged>
+ abxyz\=ovector=4
+ 1: ab<xyz>
+ 0: 2 5
+ 1: <unset>
+ 2: <unchanged>
+ 3: <unchanged>
+ abcdefxyz\=ovector=4
+ 2: <abc>def<xyz>
+ 0: 6 9
+ 1: <unset>
+ 2: <unchanged>
+ 3: <unchanged>
+
+/a(b)c|xyz/allvector
+ abcdef\=ovector=4
+ 0: abc
+ 1: b
+ 2: <unchanged>
+ 3: <unchanged>
+ abxyz\=ovector=4
+ 0: xyz
+ 1: <unset>
+ 2: <unchanged>
+ 3: <unchanged>
+
# End of testinput2
Error -70: PCRE2_ERROR_BADDATA (unknown error number)
Error -62: bad serialized data