From 251e19127170e7387da1f10b9c99c957b16477fc Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 19 Jun 2011 05:09:16 +0200 Subject: Updated runtime files. --- runtime/doc/pattern.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/doc/pattern.txt') diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 84cd7360a0..9930a3b80b 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.3. Last change: 2011 Apr 28 +*pattern.txt* For Vim version 7.3. Last change: 2011 May 25 VIM REFERENCE MANUAL by Bram Moolenaar @@ -635,7 +635,8 @@ overview. Like '(?!pattern)" in Perl. Example matches ~ foo\(bar\)\@! any "foo" not followed by "bar" - a.\{-}p\@! "a", "ap", "app", etc. not followed by a "p" + a.\{-}p\@! "a", "ap", "aap", "app", etc. not immediately + followed by a "p" if \(\(then\)\@!.\)*$ "if " not followed by "then" Using "\@!" is tricky, because there are many places where a pattern -- cgit v1.2.3