Mercurial > vim
view src/testdir/test53.ok @ 9647:847518911c0b v7.4.2100
commit https://github.com/vim/vim/commit/6835dc61aebca2b602d85a9d63c449ace58683b4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 24 17:33:05 2016 +0200
patch 7.4.2100
Problem: "cgn" and "dgn" do not work correctly with a single character
match and the replacement includes the searched pattern. (John
Beckett)
Solution: If the match is found in the wrong column try in the next column.
Turn the test into new style. (Christian Brabandt)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Jul 2016 17:45:05 +0200 |
parents | 950e24f26ef8 |
children |
line wrap: on
line source
start: foo xxxxxxxxxxxx'piep' bla bla blah out " in "" "'" 'blah'yyyyy'buh' bla `` b`la voo "zzzzzzzzzzzzzzzzzzzzzzzzzzzzsd <begin> -<b>asdf<i></i>asdf</b>- -<b></b>- -<b>asdfasdf</b>- -- -<b></b> </begin> b bc c a -1 0 0 1 2 -1 1 2 -1 3 -1 3 3 3 -1 0 1 2 3 -1 1 2 3 -1 SEARCH: end: