Update runtime files
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*usr_27.txt* For Vim version 8.1. Last change: 2018 Jan 26
|
||||
*usr_27.txt* For Vim version 8.1. Last change: 2019 Jul 14
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@ -474,19 +474,19 @@ the line break happens, because all items mentioned so far don't match a line
|
||||
break.
|
||||
To check for a line break in a specific place, use the "\n" item: >
|
||||
|
||||
/the\nword
|
||||
/one\ntwo
|
||||
|
||||
This will match at a line that ends in "the" and the next line starts with
|
||||
"word". To match "the word" as well, you need to match a space or a line
|
||||
This will match at a line that ends in "one" and the next line starts with
|
||||
"two". To match "one two" as well, you need to match a space or a line
|
||||
break. The item to use for it is "\_s": >
|
||||
|
||||
/the\_sword
|
||||
/one\_stwo
|
||||
|
||||
To allow any amount of white space: >
|
||||
|
||||
/the\_s\+word
|
||||
/one\_s\+two
|
||||
|
||||
This also matches when "the " is at the end of a line and " word" at the
|
||||
This also matches when "one " is at the end of a line and " two" at the
|
||||
start of the next one.
|
||||
|
||||
"\s" matches white space, "\_s" matches white space or a line break.
|
||||
|
||||
Reference in New Issue
Block a user