diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Doc/Zsh/compwid.yo | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index b96038cb4..9dbe6e643 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25159: Doc/Zsh/compwid.yo: expand documentation for + correspondence classes with [:...:]. + 2008-06-13 Peter Stephenson <pws@csr.com> * unposted: Completion/Zsh/Context/_zcalc_line, 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 |