diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-28 10:30:51 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-02-28 10:30:51 +0000 |
commit | 6ceabc3f2a47d73edeaf4bf0f2f3c9fea52dfb3d (patch) | |
tree | 74d44d3c97d03baebeebc2695aa5b9b8a3b71625 /testdata | |
parent | 6d195a1deef9c38821c994943256d9a040fb855b (diff) | |
download | pcre-6ceabc3f2a47d73edeaf4bf0f2f3c9fea52dfb3d.tar.gz |
Previous patch to fix (*COMMIT) in assertions was bad; fix it.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@940 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 7 | ||||
-rw-r--r-- | testdata/testoutput2 | 10 |
2 files changed, 13 insertions, 4 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index ac5db36..484ba8d 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -3733,10 +3733,13 @@ replaced by single letters. --/ \r\r\r\P \r\r\r\P\P -/-- This one is here because Perl does not match: it seems to allow the COMMIT -to escape from the assertion. --/ +/-- These two are here because Perl does not match: it seems to allow the +COMMIT to escape from the assertion. --/ /(?=a(*COMMIT)b|ac)ac|ac/ ac +/(?=a(*COMMIT)b|(ac)) ac | (a)c/x + ac + /-- End of testinput2 --/ diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 81b7fb9..4acc35d 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -12271,11 +12271,17 @@ Partial match: \x0d\x0d \r\r\r\P\P 0: \x0d\x0d -/-- This one is here because Perl does not match: it seems to allow the COMMIT -to escape from the assertion. --/ +/-- These two are here because Perl does not match: it seems to allow the +COMMIT to escape from the assertion. --/ /(?=a(*COMMIT)b|ac)ac|ac/ ac 0: ac +/(?=a(*COMMIT)b|(ac)) ac | (a)c/x + ac + 0: ac + 1: <unset> + 2: a + /-- End of testinput2 --/ |