diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-11-13 17:16:28 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2015-11-13 17:16:28 +0000 |
commit | 1100f040d85c6d37bb08975240978a9598d8b3e6 (patch) | |
tree | 0c5071d2edf37d9c0c1888d932c68cf1a32b48b7 | |
parent | eda6dd2c83da55fad345fb19a51ff36ceb957167 (diff) | |
download | pcre2-1100f040d85c6d37bb08975240978a9598d8b3e6.tar.gz |
Add a new test.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@431 6239d852-aaf2-0410-a92c-79f79f948069
-rw-r--r-- | testdata/testinput2 | 3 | ||||
-rw-r--r-- | testdata/testoutput2 | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index d8ded88..36e0e04 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -4524,6 +4524,9 @@ B)x/alt_verbnames,mark 1234abc\=offset_limit=7 \= Expect no match 1234abc\=offset_limit=6 + +/A/g,replace=-,use_offset_limit + XAXAXAXAXA\=offset_limit=4 /abc/ \= Expect error diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 7d560c2..8e4f9c0 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -14587,6 +14587,10 @@ No match \= Expect no match 1234abc\=offset_limit=6 No match + +/A/g,replace=-,use_offset_limit + XAXAXAXAXA\=offset_limit=4 + 2: X-X-XAXAXA /abc/ \= Expect error |