about summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-10-14 12:59:03 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-10-14 12:59:03 +0000
commit1f0f5b8e62fd73d8e6fc0230ed8bf535db7671f7 (patch)
tree892e64524e6583172e1170404a1cc700a729592c /Doc/Zsh
parent430e54ddc496b2610ef4ee263f557953cf057db2 (diff)
downloadzsh-1f0f5b8e62fd73d8e6fc0230ed8bf535db7671f7.tar.gz
zsh-1f0f5b8e62fd73d8e6fc0230ed8bf535db7671f7.tar.xz
zsh-1f0f5b8e62fd73d8e6fc0230ed8bf535db7671f7.zip
25893: rescind advice to use m:{[:lower:]}={[:upper:]} matcher for now
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/compwid.yo18
1 files changed, 10 insertions, 8 deletions
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index 05b8ab9b2..dcf2d1569 100644
--- a/Doc/Zsh/compwid.yo
+++ b/Doc/Zsh/compwid.yo
@@ -942,14 +942,16 @@ line match the corresponding upper case character in the trial
 completion you can use `tt(m:{[:lower:]}={[:upper:]})'.  Although the
 matching system does not yet handle multibyte characters, this is likely
 to be a future extension, at which point this syntax will handle
-arbitrary alphabets; hence this form, rather than the use of explicit
-ranges, is the recommended form.  In other cases
-`tt([:)var(name)tt(:])' forms are allowed.  If the two forms on the left
-and right are the same, the characters must match exactly.  In remaining
-cases, the corresponding tests are applied to both characters, but they
-are not otherwise constrained; any matching character in one set goes
-with any matching character in the other set:  this is equivalent to the
-behaviour of ordinary character classes.
+arbitrary alphabets; until then it is safer to use the older syntax
+that only handles ASCII characters, `tt(m:{a-z}={A-Z}) as this does
+not have side effects in the case of multibyte characters.
+
+In other cases `tt([:)var(name)tt(:])' forms are allowed.  If the two forms
+on the left and right are the same, the characters must match exactly.  In
+remaining cases, the corresponding tests are applied to both characters,
+but they are not otherwise constrained; any matching character in one set
+goes with any matching character in the other set:  this is equivalent to
+the behaviour of ordinary character classes.
 
 The pattern var(tpat) may also be one or two stars, `tt(*)' or
 `tt(**)'. This means that the pattern on the command line can match