0
0
mirror of https://github.com/vim/vim.git synced 2025-11-15 23:14:06 -05:00

updated for version 7.3.1026

Problem:    New regexp: pattern that includs a new-line matches too early.
            (john McGowan)
Solution:   Do not start searching in the second line.
This commit is contained in:
Bram Moolenaar
2013-05-26 18:40:14 +02:00
parent 61db8b5108
commit e23febdb85
4 changed files with 25 additions and 6 deletions

View File

@@ -372,6 +372,12 @@ y$Gop:"
:.+1,.+2yank
Gop:"
:"
:" Check a pattern with a line break matches in the right position.
/^Multiline
/\S.*\nx
:.yank
y$Gop:"
:"
:"
:/\%#=1^Results/,$wq! test.out
ENDTEST
@@ -383,4 +389,11 @@ Substitute here:
<T="">Ta 5</Title>
<T="">Ac 7</Title>
Multiline:
abc
def
ghi
xjk
lmn
Results of test64:

View File

@@ -705,3 +705,4 @@ OK 2 - \<goo\|go
<T="5">Ta 5</Title>
<T="7">Ac 7</Title>
ghi