From 8c3bec7091f4427b407db3605f55d7f7161fd34c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 16 Jun 2008 13:01:56 +0000 Subject: 29159: expand documentation for correspondence classes with [:...:] --- ChangeLog | 5 +++++ 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 + + * 25159: Doc/Zsh/compwid.yo: expand documentation for + correspondence classes with [:...:]. + 2008-06-13 Peter Stephenson * 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 -- cgit 1.4.1