diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-07-02 15:20:59 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2011-07-02 15:20:59 +0000 |
commit | 5c7a0c52f657f9ee5670cddc9466e239243c9b18 (patch) | |
tree | b5e2b3ffe768624a719d31485a06fd83f31f4fde /testdata/testinput11 | |
parent | 477829e693c6a38cc3443ea90b2dacb19a2eddfc (diff) | |
download | pcre-5c7a0c52f657f9ee5670cddc9466e239243c9b18.tar.gz |
Fix two study bugs concerned with minimum subject lengths; add features to
pcretest so that all tests can be run with or without study; adjust tests so
that this happens.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@612 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'testdata/testinput11')
-rw-r--r-- | testdata/testinput11 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/testdata/testinput11 b/testdata/testinput11 index 9631eb8..cf02fac 100644 --- a/testdata/testinput11 +++ b/testdata/testinput11 @@ -246,6 +246,7 @@ aaabccc /(A (A|B(*ACCEPT)|C) D)(E)/x + AB ABX AADE ACDE @@ -403,7 +404,10 @@ AC CB -/(*MARK:A)(*SKIP:B)(C|X)/K +/--- Force no study, otherwise mark is not seen. The studied version is in + test 2 because it isn't Perl-compatible. ---/ + +/(*MARK:A)(*SKIP:B)(C|X)/KSS C D @@ -435,9 +439,9 @@ with the handling of backtracking verbs. ---/ /A(*:A)A+(*SKIP:A)(B|Z) | AC/xK AAAC -/--- Don't loop! ---/ +/--- Don't loop! Force no study, otherwise mark is not seen. ---/ -/(*:A)A+(*SKIP:A)(B|Z)/K +/(*:A)A+(*SKIP:A)(B|Z)/KSS AAAC /--- This should succeed, as a non-existent skip name disables the skip ---/ |