diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-06-27 15:18:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-06-27 15:18:56 +0200 |
commit | 4d8f476176eadfc745bcb8e143460029048f858d (patch) | |
tree | 459b6394e47d2c720755b09834bfacb699a8cb39 /runtime/doc/change.txt | |
parent | e65081d1b591f16dc6e380a830d87565c5eb7b03 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/change.txt')
-rw-r--r-- | runtime/doc/change.txt | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index 62a69b78f0..1a9ba7ac55 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1,4 +1,4 @@ -*change.txt* For Vim version 8.2. Last change: 2021 Jun 10 +*change.txt* For Vim version 8.2. Last change: 2021 Jun 23 VIM REFERENCE MANUAL by Bram Moolenaar @@ -780,12 +780,15 @@ For compatibility with Vi these two exceptions are allowed: "\/{string}/" and "\?{string}?" do the same as "//{string}/r". "\&{string}&" does the same as "//{string}/". *pattern-delimiter* *E146* -Instead of the '/' which surrounds the pattern and replacement string, you -can use any other single-byte character, but not an alphanumeric character, -'\', '"' or '|'. This is useful if you want to include a '/' in the search -pattern or replacement string. Example: > +Instead of the '/' which surrounds the pattern and replacement string, you can +use another single-byte character. This is useful if you want to include a +'/' in the search pattern or replacement string. Example: > :s+/+//+ +You can use most characters, but not an alphanumeric character, '\', '"' or +'|'. In Vim9 script you should not use '#' because it may be recognized as +the start of a comment. + For the definition of a pattern, see |pattern|. In Visual block mode, use |/\%V| in the pattern to have the substitute work in the block only. Otherwise it works on whole lines anyway. |