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:
@@ -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:
|
||||
|
||||
@@ -705,3 +705,4 @@ OK 2 - \<goo\|go
|
||||
|
||||
<T="5">Ta 5</Title>
|
||||
<T="7">Ac 7</Title>
|
||||
ghi
|
||||
|
||||
Reference in New Issue
Block a user