From ae5bce1c127136a650ee25c4c78d3d334cc07859 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 15 Aug 2005 21:41:48 +0000 Subject: updated for version 7.0130 --- runtime/doc/pattern.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/doc/pattern.txt') diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index b99b0d7ab8..078d754206 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.0aa. Last change: 2005 May 22 +*pattern.txt* For Vim version 7.0aa. Last change: 2005 Aug 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -944,6 +944,9 @@ x A single character, with no special meaning, matches itself This makes it Vi compatible: Without the "\_" or "\n" the collection does not match an end-of-line. + When the ']' is not there Vim will not give an error message but + assume no collection is used. Useful to search for '['. + If the sequence begins with "^", it matches any single character NOT in the collection: "[^xyz]" matches anything but 'x', 'y' and 'z'. - If two characters in the sequence are separated by '-', this is -- cgit v1.2.3