about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-06-16 13:01:56 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-06-16 13:01:56 +0000
commit8c3bec7091f4427b407db3605f55d7f7161fd34c (patch)
tree974b2d780b19d207d1c2d8561be08688776c1ef7 /Doc
parentaadd07e05f18a41e44129cbbb1b37796a54a685f (diff)
downloadzsh-8c3bec7091f4427b407db3605f55d7f7161fd34c.tar.gz
zsh-8c3bec7091f4427b407db3605f55d7f7161fd34c.tar.xz
zsh-8c3bec7091f4427b407db3605f55d7f7161fd34c.zip
29159: expand documentation for correspondence classes with [:...:]
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compwid.yo8
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/Zsh/compwid.yo b/Doc/Zsh/compwid.yo
index a87aeac87..cbc14715c 100644
--- a/Doc/Zsh/compwid.yo
+++ b/Doc/Zsh/compwid.yo
@@ -944,8 +944,12 @@ 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, but imply no special
-constraint on the characters beyond that implied by the test itself.
+`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