summaryrefslogtreecommitdiff
path: root/testdata/testinput11
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-09-18 19:12:35 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2009-09-18 19:12:35 +0000
commit20dd865c5c8f10036cda34b9870351b702399c08 (patch)
tree3a47dd7d7162f12a80b3fc947e16292b067ffa34 /testdata/testinput11
parenteaa446db0f399010171263221963181144b026e0 (diff)
downloadpcre-20dd865c5c8f10036cda34b9870351b702399c08.tar.gz
Add more explanation about recursive subpatterns, and make it possible to
process the documenation without building a whole release. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@453 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput11')
-rw-r--r--testdata/testinput1118
1 files changed, 18 insertions, 0 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11
index 1a08cd1..6f1203b 100644
--- a/testdata/testinput11
+++ b/testdata/testinput11
@@ -252,4 +252,22 @@
** Failers
AD
+/^\W*+(?:((.)\W*+(?1)\W*+\2|)|((.)\W*+(?3)\W*+\4|\W*+.\W*+))\W*+$/i
+ 1221
+ Satan, oscillate my metallic sonatas!
+ A man, a plan, a canal: Panama!
+ Able was I ere I saw Elba.
+ *** Failers
+ The quick brown fox
+
+/^((.)(?1)\2|.)$/
+ a
+ aba
+ aabaa
+ abcdcba
+ pqaabaaqp
+ ablewasiereisawelba
+ rhubarb
+ the quick brown fox
+
/-- End of testinput11 --/