summaryrefslogtreecommitdiff
path: root/testdata/testoutput12-16
diff options
context:
space:
mode:
Diffstat (limited to 'testdata/testoutput12-16')
-rw-r--r--testdata/testoutput12-1610
1 files changed, 10 insertions, 0 deletions
diff --git a/testdata/testoutput12-16 b/testdata/testoutput12-16
index 52dbe74..2fc9261 100644
--- a/testdata/testoutput12-16
+++ b/testdata/testoutput12-16
@@ -1470,5 +1470,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