From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27517 invoked from network); 11 Jun 2000 06:49:18 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Jun 2000 06:49:18 -0000 Received: (qmail 19016 invoked by alias); 11 Jun 2000 06:49:08 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11860 Received: (qmail 19008 invoked from network); 11 Jun 2000 06:49:06 -0000 From: "Bart Schaefer" Message-Id: <1000611064807.ZM32187@candle.brasslantern.com> Date: Sun, 11 Jun 2000 06:48:07 +0000 X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.auc.dk Subject: Bug in colored listings with backreference patterns? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Consider: zagzig[137] [[ cshnullglob = (#b)((?|)sh)#(*glob*)#* ]] && \ print -l $match[1] $match[2] $match[3] csh c nullglob Yet if I use that pattern in a list-colors style for zsh-options, I get `c' in the third color, `sh' in the second color (so far, as expected) but only `n' in the fourth color -- `ullglob' is in the first (default) color. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.brasslantern.com Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net