view src/testdir/test38.in @ 4692:08fbb1ce1bc5 v7.3.1093

updated for version 7.3.1093 Problem: New regexp engine: When a sub expression is empty \1 skips a character. Solution: Make \1 try the current position when the match is emtpy.
author Bram Moolenaar <bram@vim.org>
date Sun, 02 Jun 2013 16:07:10 +0200
parents 4541e06d4fb9
children
line wrap: on
line source


Test Virtual replace mode.

STARTTEST
:so small.vim
:" make sure that backspace works, no matter what termcap is used
:set t_kD=x7f t_kb=x08
ggdGa
abcdefghi
jk	lmn
    opq	rst
uvwxyz
gg:set ai
:set bs=2
gR0 1
A
BCDEFGHIJ
	KL
MNO
PQRG:ka
o0
abcdefghi
jk	lmn
    opq	rst
uvwxyz
'ajgR0 1
A
BCDEFGHIJ
	KL
MNO
PQR:$
iab	cdefghi	jkl0gRAB......CDEFGHI.Jo:
iabcdefghijklmnopqrst0gRAB	IJKLMNO	QR:wq! test.out
ENDTEST