From 5dce5b37273ed16d76276e5e52ca8b4442d7d0da Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Fri, 13 Nov 2015 17:16:28 +0000 Subject: [PATCH] Add a new test. --- testdata/testinput2 | 3 +++ testdata/testoutput2 | 4 ++++ 2 files changed, 7 insertions(+) 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