diff options
Diffstat (limited to 'testdata')
-rw-r--r-- | testdata/testinput2 | 13 | ||||
-rw-r--r-- | testdata/testoutput2 | 20 |
2 files changed, 33 insertions, 0 deletions
diff --git a/testdata/testinput2 b/testdata/testinput2 index 87e3394..865c903 100644 --- a/testdata/testinput2 +++ b/testdata/testinput2 @@ -5830,6 +5830,19 @@ a)"xI /55|a(..)d/g,replace=>$1< xyz55abcdxyzabcdxyz\=ovector=2,substitute_unset_empty + +/abc/replace=,caseless + XabcY + XABCY + +/abc/replace=[4],caseless + XabcY + XABCY + +/abc/replace=*,caseless + XabcY + XABCY + XabcY\=replace= # Expect non-fixed-length error diff --git a/testdata/testoutput2 b/testdata/testoutput2 index 4d8f65d..6065ed7 100644 --- a/testdata/testoutput2 +++ b/testdata/testoutput2 @@ -17571,6 +17571,26 @@ Failed: error -55 at offset 3 in replacement: requested value is not set /55|a(..)d/g,replace=>$1< xyz55abcdxyzabcdxyz\=ovector=2,substitute_unset_empty 3: xyz><>bc<xyz>bc<xyz + +/abc/replace=,caseless + XabcY + 0: abc + XABCY + 0: ABC + +/abc/replace=[4],caseless + XabcY + 1: XY + XABCY + 1: XY + +/abc/replace=*,caseless + XabcY + 1: X*Y + XABCY + 1: X*Y + XabcY\=replace= + 0: abc # Expect non-fixed-length error |