summaryrefslogtreecommitdiff
path: root/testdata/testinput11
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-03-06 19:00:29 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-03-06 19:00:29 +0000
commit2878ed98d792c02f7c9f7b4832016f55ad1db1ee (patch)
tree4e353f00244bc898213a46fc21c8a066dbf1ff50 /testdata/testinput11
parent83b2b44d38f1afd36c4b19e1afceea68e6216fbd (diff)
downloadpcre-2878ed98d792c02f7c9f7b4832016f55ad1db1ee.tar.gz
Fix bugs with \K in atomic groups, subroutines, and assertions.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@500 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput11')
-rw-r--r--testdata/testinput1122
1 files changed, 22 insertions, 0 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11
index 501ac3c..d1054ef 100644
--- a/testdata/testinput11
+++ b/testdata/testinput11
@@ -357,4 +357,26 @@
/^(?(?!a(*SKIP)b))/
ac
+/(?>a\Kb)/
+ ab
+
+/((?>a\Kb))/
+ ab
+
+/(a\Kb)/
+ ab
+
+/^a\Kcz|ac/
+ ac
+
+/(?>a\Kbz|ab)/
+ ab
+
+/^(?&t)(?(DEFINE)(?<t>a\Kb))$/
+ ab
+
+/^([^()]|\((?1)*\))*$/
+ a(b)c
+ a(b(c)d)e
+
/-- End of testinput11 --/