summaryrefslogtreecommitdiff
path: root/testdata/testinput11
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-10-10 17:33:07 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2010-10-10 17:33:07 +0000
commite5f5a0846fd1a4c912d3aa6c505a0bde13c40944 (patch)
treed9af1bbab36170e18d2fe85aa3941b7f81cd8f67 /testdata/testinput11
parenta0ab6e7fdaff6d0b459689f4bc5c79792cfd85cd (diff)
downloadpcre-e5f5a0846fd1a4c912d3aa6c505a0bde13c40944.tar.gz
Make (*COMMIT) override (*THEN) and similar.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@551 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput11')
-rw-r--r--testdata/testinput1111
1 files changed, 11 insertions, 0 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11
index 795e1be..5509b52 100644
--- a/testdata/testinput11
+++ b/testdata/testinput11
@@ -483,4 +483,15 @@ however, we need the complication for Perl. ---/
/(?&t)(?#()(?(DEFINE)(?<t>a))/
bac
+/--- COMMIT should override THEN ---/
+
+/(?>(*COMMIT)(?>yes|no)(*THEN)(*F))?/
+ yes
+
+/(?>(*COMMIT)(yes|no)(*THEN)(*F))?/
+ yes
+
+/^((yes|no)(*THEN)(*F))?/
+ yes
+
/-- End of testinput11 --/