summaryrefslogtreecommitdiffstats
path: root/runtime/doc/change.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-18 21:41:50 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-18 21:41:50 +0100
commit9d87a37ee9d87f5bdbc779bc940d5f1e6f055d0a (patch)
treef569453cf21f8a14b1a90e6e4edeeb41fe624b70 /runtime/doc/change.txt
parenta86187b9cd529754ad85cd621169876317eb3a69 (diff)
Update runtime files.
Diffstat (limited to 'runtime/doc/change.txt')
-rw-r--r--runtime/doc/change.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index dc3a23c599..ff0c44a662 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -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