summaryrefslogtreecommitdiff
path: root/testdata/testinput1
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-11-10 19:04:34 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-11-10 19:04:34 +0000
commitb79cc767bf7081781e78955af3c986c2119bcdd3 (patch)
tree583022a943abc9aa76252150bbdba279195cd362 /testdata/testinput1
parent7de890de6074833fd0b0ed433c69a431cd7bf0cb (diff)
downloadpcre-b79cc767bf7081781e78955af3c986c2119bcdd3.tar.gz
In /x mode, allow white space before a possessive + character.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1396 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput1')
-rw-r--r--testdata/testinput120
1 files changed, 19 insertions, 1 deletions
diff --git a/testdata/testinput1 b/testdata/testinput1
index 59024eb..b1c3752 100644
--- a/testdata/testinput1
+++ b/testdata/testinput1
@@ -2,7 +2,7 @@
Perl >= 5.10, in non-UTF-8 mode. It should run clean for the 8-bit, 16-bit,
and 32-bit PCRE libraries. --/
-< forbid 8BCDIMWZ<
+< forbid 8BCDIMOWZ<
/the quick brown fox/
the quick brown fox
@@ -5633,4 +5633,22 @@ AbcdCBefgBhiBqz
/^A\o{123}B/
A\123B
+/ ^ a + + b $ /x
+ aaaab
+
+/ ^ a + #comment
+ + b $ /x
+ aaaab
+
+/ ^ a + #comment
+ #comment
+ + b $ /x
+ aaaab
+
+/ ^ (?> a + ) b $ /x
+ aaaab
+
+/ ^ ( a + ) + + \w $ /x
+ aaaab
+
/-- End of testinput1 --/