Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
9646:c9c6aaff0184 | 9647:847518911c0b |
---|---|
40 1 | 40 1 |
41 2 | 41 2 |
42 3 | 42 3 |
43 -1 | 43 -1 |
44 SEARCH: | 44 SEARCH: |
45 searchmatch | |
46 abcdx | | abcdx | |
47 join lines | |
48 zerowidth pattern | |
49 elete first and last char | |
50 uniquepattern | |
51 my very excellent mongoose just served us nachos | |
52 for (j=0; i<=10; i++) | |
53 a:10 | |
54 | |
55 a:1 | |
56 1 | |
57 | |
58 a:20 | |
59 | |
60 text | |
61 Y | |
62 --1 | |
63 | |
64 --2 | |
65 | |
66 --3 | |
67 DEPP | |
68 --4 | |
69 DEPP | |
70 --5 | |
71 end: | 45 end: |