diff options
Diffstat (limited to 'src/testdir')
-rw-r--r-- | src/testdir/test69.in | 7 | ||||
-rw-r--r-- | src/testdir/test69.ok | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/testdir/test69.in b/src/testdir/test69.in index 75317b495..2510c122b 100644 --- a/src/testdir/test69.in +++ b/src/testdir/test69.in @@ -180,6 +180,13 @@ byteidx byteidxcomp STARTTEST +/^substitute +:let y = substitute('123', '\zs', 'a', 'g') | put =y +ENDTEST + +substitute + +STARTTEST :g/^STARTTEST/.,/^ENDTEST/d :1;/^Results/,$wq! test.out ENDTEST diff --git a/src/testdir/test69.ok b/src/testdir/test69.ok index 41cd9d02c..af8befb0c 100644 --- a/src/testdir/test69.ok +++ b/src/testdir/test69.ok @@ -160,3 +160,7 @@ byteidxcomp [0, 1, 3, 4, -1] [0, 1, 2, 4, 5, -1] + +substitute +a1a2a3a + |