summaryrefslogtreecommitdiff
path: root/testdata/testinput2
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-07-21 16:48:13 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2019-07-21 16:48:13 +0000
commitecfcb91119a8c10bd0f4a790ccff1075538760c8 (patch)
tree9a31747e4fdaa64c485247b1651052733d982370 /testdata/testinput2
parent361e123dd630523e542dfca697ca84f23dc148f8 (diff)
downloadpcre2-ecfcb91119a8c10bd0f4a790ccff1075538760c8.tar.gz
Update definition of partial match and fix \z and \Z (as documented).
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1140 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testinput2')
-rw-r--r--testdata/testinput229
1 files changed, 26 insertions, 3 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index 95c4c14..1ecc3fd 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -5690,10 +5690,33 @@ a)"xI
# ----
-/(?<=(?=.(?<=x)))/
- ab\=ph
-
# Expect error (recursion => not fixed length)
/(\2)((?=(?<=\1)))/
+/c*+(?<=[bc])/
+ abc\=ph,no_jit
+ ab\=ph,no_jit
+ abc\=ps,no_jit
+ ab\=ps,no_jit
+
+/c++(?<=[bc])/
+ abc\=ph,no_jit
+ ab\=ph,no_jit
+
+/(?<=(?=.(?<=x)))/
+ abx
+ ab\=ph,no_jit
+ bxyz
+ xyz
+
+/\z/
+ abc\=ph,no_jit
+ abc\=ps
+
+/\Z/
+ abc\=ph,no_jit
+ abc\=ps
+ abc\n\=ph,no_jit
+ abc\n\=ps
+
# End of testinput2