summaryrefslogtreecommitdiff
path: root/runtime/doc/pattern.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-16 17:41:02 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-16 17:41:02 +0100
commit036986f1507d223549d110af300144468bd3a1f7 (patch)
tree4ceb878909e769f23d6deeae3bbb03d16e974f0d /runtime/doc/pattern.txt
parent8820b48654b62472821d9b155fe03ab7ac13a05c (diff)
downloadvim-git-036986f1507d223549d110af300144468bd3a1f7.tar.gz
Update runtime files.
Diffstat (limited to 'runtime/doc/pattern.txt')
-rw-r--r--runtime/doc/pattern.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 027f47bf5..149660498 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -872,8 +872,8 @@ $ At end of pattern or in front of "\|", "\)" or "\n" ('magic' on):
inside the Visual area put it at the start and just before the end of
the pattern, e.g.: >
/\%Vfoo.*ba\%Vr
-< This works if "foo bar" (or more) was Visually selected. This: >
- /\%Vfoo.*ba\%Vr
+< This also works if only "foo bar" was Visually selected. This: >
+ /\%Vfoo.*bar\%V
< would match "foo bar" if the Visual selection continues after the "r".
Only works for the current buffer.