summaryrefslogtreecommitdiff
path: root/testdata/testoutput12-32
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-09-18 16:31:30 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-09-18 16:31:30 +0000
commit3c2c4493cc3b12dddd2493b465f0ce50e3f77b5a (patch)
tree00da02b321326bc57645afdd9dbb665389cc441c /testdata/testoutput12-32
parent7631cfc720ba913fe3ffa1f23fb747d91d1d7d48 (diff)
downloadpcre2-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/testoutput12-32')
-rw-r--r--testdata/testoutput12-3210
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/testoutput12-32 b/testdata/testoutput12-32
index 38ff92d..efb7cc6 100644
--- a/testdata/testoutput12-32
+++ b/testdata/testoutput12-32
@@ -1467,5 +1467,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 12 12 New 14 16
+Old 12 15 New 16 21
+Old 21 21 New 27 29
+ 4: 123abc<>\x{e1}yzabc<><def>789abc<>\x{1234}qr
# End of testinput12