summaryrefslogtreecommitdiff
path: root/testdata
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2018-09-02 17:05:38 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2018-09-02 17:05:38 +0000
commit7abc4de8303e8908eeb96714dac53ae10ff465e3 (patch)
treee2bb8ba18da4e0ea9619302e23d68b8e350dff74 /testdata
parent952cac5f4a17e52aec7d0536f405b25428367840 (diff)
downloadpcre-7abc4de8303e8908eeb96714dac53ae10ff465e3.tar.gz
Fix anchoring bug in conditional subexpression.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1739 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r--testdata/testinput23
-rw-r--r--testdata/testoutput24
2 files changed, 7 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2
index 8ba4dc4..3528de1 100644
--- a/testdata/testinput2
+++ b/testdata/testinput2
@@ -4257,4 +4257,7 @@ backtracking verbs. --/
ab
aaab
+/(?(?=^))b/
+ abc
+
/-- End of testinput2 --/
diff --git a/testdata/testoutput2 b/testdata/testoutput2
index 61ed8d9..4ccda27 100644
--- a/testdata/testoutput2
+++ b/testdata/testoutput2
@@ -14721,4 +14721,8 @@ No need char
0: ab
1: a
+/(?(?=^))b/
+ abc
+ 0: b
+
/-- End of testinput2 --/