summaryrefslogtreecommitdiffstats
path: root/runtime/doc/pattern.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-10 13:52:13 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-10 13:52:13 +0200
commit0bc380a96b87ee02b01a7d4677ad4d973563a84e (patch)
treed459d5f3edebe4ae3a7b144dadda984bfaa3e5f9 /runtime/doc/pattern.txt
parentd04b7507fde8bb7e3103ce53f2156c798b5e5245 (diff)
Fixed ":s" message. Docs updates.
Diffstat (limited to 'runtime/doc/pattern.txt')
-rw-r--r--runtime/doc/pattern.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt
index 3549906e54..c93b573b3e 100644
--- a/runtime/doc/pattern.txt
+++ b/runtime/doc/pattern.txt
@@ -995,7 +995,8 @@ x A single character, with no special meaning, matches itself
in the collection: "[^xyz]" matches anything but 'x', 'y' and 'z'.
- If two characters in the sequence are separated by '-', this is
shorthand for the full list of ASCII characters between them. E.g.,
- "[0-9]" matches any decimal digit.
+ "[0-9]" matches any decimal digit. Non-ASCII characters can be
+ used, but the character values must not be more than 256 apart.
- A character class expression is evaluated to the set of characters
belonging to that character class. The following character classes
are supported:
@@ -1043,9 +1044,9 @@ x A single character, with no special meaning, matches itself
"^"): "[]xyz]" or "[^]xyz]" {not in Vi}.
For '-' you can also make it the first or last character: "[-xyz]",
"[^-xyz]" or "[xyz-]". For '\' you can also let it be followed by
- any character that's not in "^]-\bertn". "[\xyz]" matches '\', 'x',
- 'y' and 'z'. It's better to use "\\" though, future expansions may
- use other characters after '\'.
+ any character that's not in "^]-\bdertnoUux". "[\xyz]" matches '\',
+ 'x', 'y' and 'z'. It's better to use "\\" though, future expansions
+ may use other characters after '\'.
- The following translations are accepted when the 'l' flag is not
included in 'cpoptions' {not in Vi}:
\e <Esc>