summaryrefslogtreecommitdiff
path: root/testdata/testinput1
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-09-06 17:47:32 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-09-06 17:47:32 +0000
commit4d51fcedd5d47aa4314221fd50ba6e5985842b72 (patch)
tree2881426e5e03c718fc5eac6ea7efec463c9b2b2d /testdata/testinput1
parent6737b0da8eb044245ad60bb89559c5e542178e12 (diff)
downloadpcre-4d51fcedd5d47aa4314221fd50ba6e5985842b72.tar.gz
Make back references to duplicated named subpatterns more like Perl.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1361 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput1')
-rw-r--r--testdata/testinput111
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/testinput1 b/testdata/testinput1
index f2194ff..1763c5a 100644
--- a/testdata/testinput1
+++ b/testdata/testinput1
@@ -5609,4 +5609,15 @@ AbcdCBefgBhiBqz
ca
cd
+/(?:(?<n>foo)|(?<n>bar))\k<n>/J
+ foofoo
+ barbar
+
+/(?<n>A)(?:(?<n>foo)|(?<n>bar))\k<n>/J
+ AfooA
+ AbarA
+ ** Failers
+ Afoofoo
+ Abarbar
+
/-- End of testinput1 --/