Update runtime files.

This commit is contained in:
Bram Moolenaar
2018-12-18 21:41:50 +01:00
parent a86187b9cd
commit 9d87a37ee9
26 changed files with 545 additions and 284 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
*change.txt* For Vim version 8.1. Last change: 2018 May 12
*change.txt* For Vim version 8.1. Last change: 2018 Dec 14
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -944,9 +944,9 @@ When the result is a |List| then the items are joined with separating line
breaks. Thus each item becomes a line, except that they can contain line
breaks themselves.
The whole matched text can be accessed with "submatch(0)". The text matched
with the first pair of () with "submatch(1)". Likewise for further
sub-matches in ().
The |submatch()| function can be used to obtain matched text. The whole
matched text can be accessed with "submatch(0)". The text matched with the
first pair of () with "submatch(1)". Likewise for further sub-matches in ().
Be careful: The separation character must not appear in the expression!
Consider using a character like "@" or ":". There is no problem if the result