diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-10-25 15:01:05 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2010-10-25 15:01:05 +0000 |
commit | 9289ff4faf1ac0c42b97e146fd65e708de032b53 (patch) | |
tree | 01927b5f1e8b11a4e807f24500c6a2a921f8c195 | |
parent | eb0957c2b28f0842cf8e03e5216b3349c8e950fe (diff) | |
download | pcre-9289ff4faf1ac0c42b97e146fd65e708de032b53.tar.gz |
Add test for a (*SKIP) bug that was fixed by other changes.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@554 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r-- | testdata/testinput11 | 10 | ||||
-rw-r--r-- | testdata/testoutput11 | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11 index 5509b52..3b6ef09 100644 --- a/testdata/testinput11 +++ b/testdata/testinput11 @@ -494,4 +494,14 @@ however, we need the complication for Perl. ---/ /^((yes|no)(*THEN)(*F))?/ yes +/b?(*SKIP)c/ + bc + abc + +/(*SKIP)bc/ + a + +/(*SKIP)b/ + a + /-- End of testinput11 --/ diff --git a/testdata/testoutput11 b/testdata/testoutput11 index 0c56c66..1a17105 100644 --- a/testdata/testoutput11 +++ b/testdata/testoutput11 @@ -956,4 +956,18 @@ No match yes 0: +/b?(*SKIP)c/ + bc + 0: bc + abc + 0: bc + +/(*SKIP)bc/ + a +No match + +/(*SKIP)b/ + a +No match + /-- End of testinput11 --/ |