diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-09-18 16:31:30 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2018-09-18 16:31:30 +0000 |
commit | 3c2c4493cc3b12dddd2493b465f0ce50e3f77b5a (patch) | |
tree | 00da02b321326bc57645afdd9dbb665389cc441c /testdata/testoutput10 | |
parent | 7631cfc720ba913fe3ffa1f23fb747d91d1d7d48 (diff) | |
download | pcre2-3c2c4493cc3b12dddd2493b465f0ce50e3f77b5a.tar.gz |
Implement callouts from pcre2_substitute().
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1012 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'testdata/testoutput10')
-rw-r--r-- | testdata/testoutput10 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/testoutput10 b/testdata/testoutput10 index 9660fc5..5a28da9 100644 --- a/testdata/testoutput10 +++ b/testdata/testoutput10 @@ -1625,5 +1625,15 @@ Subject length lower bound = 1 \= Expect no match aaa No match + +# Offsets are different in 8-bit mode. + +/(?<=abc)(|def)/g,utf,replace=<$0>,substitute_callout + 123abcáyzabcdef789abcሴqr +Old 6 6 New 6 8 +Old 13 13 New 15 17 +Old 13 16 New 17 22 +Old 22 22 New 28 30 + 4: 123abc<>\x{e1}yzabc<><def>789abc<>\x{1234}qr # End of testinput10 |