From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11789 invoked from network); 24 Jan 2000 09:15:10 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 24 Jan 2000 09:15:10 -0000 Received: (qmail 12385 invoked by alias); 24 Jan 2000 09:14:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9415 Received: (qmail 12378 invoked from network); 24 Jan 2000 09:14:54 -0000 Date: Mon, 24 Jan 2000 10:14:53 +0100 (MET) Message-Id: <200001240914.KAA02715@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Peter Stephenson's message of Sat, 22 Jan 2000 19:53:28 +0000 Subject: Re: playing with backreferences in list-colors Peter Stephenson wrote: > By the way: > > All three forms of name may be preceded by a pattern in > parentheses. If such a pattern is given, the value will be > used only for matches in groups whose names are matched by > the pattern given in the parentheses. E.g. `(g*)~m*=43' > says to highlight all matches beginning with `m' in groups > whose names begin with `g' using the color code `43'. In > case of the `lc', `rc', and `ec' codes, the group pattern > is ignored. > > What does the `~' in the example mean here? Is that a misprint? Yes. Bye Sven diff -ru ../z.old/Doc/Zsh/mod_complist.yo Doc/Zsh/mod_complist.yo --- ../z.old/Doc/Zsh/mod_complist.yo Mon Jan 24 09:57:40 2000 +++ Doc/Zsh/mod_complist.yo Mon Jan 24 10:12:00 2000 @@ -100,7 +100,7 @@ All three forms of var(name) may be preceded by a pattern in parentheses. If such a pattern is given, the var(value) will be used only for matches in groups whose names are matched by the pattern -given in the parentheses. E.g. `tt((g*)~m*=43)' says to highlight all +given in the parentheses. E.g. `tt((g*)m*=43)' says to highlight all matches beginning with `tt(m)' in groups whose names begin with `tt(g)' using the color code `tt(43)'. In case of the `tt(lc)', `tt(rc)', and `tt(ec)' codes, the group pattern is ignored. -- Sven Wischnowsky wischnow@informatik.hu-berlin.de