summaryrefslogtreecommitdiff
path: root/testdata/testinput11
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-10-03 16:24:08 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-10-03 16:24:08 +0000
commit76fe3debde15d40100e30e13f57e5a0e1594da1c (patch)
treee8bb4c50971074d3d0a82de42c2bd8cb682b9f79 /testdata/testinput11
parent80d5ddd534157a15013c2314a4236bdd8ac0b72f (diff)
downloadpcre-76fe3debde15d40100e30e13f57e5a0e1594da1c.tar.gz
Allow duplicate names for same-numbered groups; forbid different names.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@457 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput11')
-rw-r--r--testdata/testinput1114
1 files changed, 14 insertions, 0 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11
index 79be8db..7286c3d 100644
--- a/testdata/testinput11
+++ b/testdata/testinput11
@@ -283,4 +283,18 @@
/(?<X>a)(?<=b(?&X))/
baz
+/^(?|(abc)|(def))\1/
+ abcabc
+ defdef
+ ** Failers
+ abcdef
+ defabc
+
+/^(?|(abc)|(def))(?1)/
+ abcabc
+ defabc
+ ** Failers
+ defdef
+ abcdef
+
/-- End of testinput11 --/