Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Bug in colored listings with backreference patterns?
- X-seq: zsh-workers 11860
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxxxxxx
 
- Subject: Bug in colored listings with backreference patterns?
 
- Date: Sun, 11 Jun 2000 06:48:07 +0000
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
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   
Messages sorted by:
Reverse Date,
Date,
Thread,
Author