From: Daniel Carl <danielcarl@gmx.de>
Date: Sat, 1 Mar 2014 22:28:55 +0000 (+0100)
Subject: Added notice about required escaping for prev/nextpattern.
X-Git-Url: https://git.owens.tech/wrapped.html/wrapped.html/git?a=commitdiff_plain;h=fd3a43edb614b208f2fb5dad4b1f7594e6e0be5e;p=vimb.git

Added notice about required escaping for prev/nextpattern.
---

diff --git a/doc/vimb.1 b/doc/vimb.1
index 589a53b..da93df3 100644
--- a/doc/vimb.1
+++ b/doc/vimb.1
@@ -744,7 +744,10 @@ Font used for inputbox.
 .B nextpattern (string)
 Patterns to use when guessing the next page in a document. Each pattern is
 successively tested against each link in the page beginning from the last
-link. Default "/\\bnext\\b/i,/^(>|>>|»)$/,/^(>|>>|»)/,/(>|>>|»)$/,/\\bmore\\b/i"
+link. Default
+"/\\bnext\\b/i,/^(>|>>|»)$/,/^(>|>>|»)/,/(>|>>|»)$/,/\\bmore\\b/i". Note that
+you have to escape the '|' as '\\|' else the '|' will terminate the :set
+command and start a new command.
 .TP
 .B previouspattern (string)
 Patterns to use when guessing the previous page in a document. Each pattern is