Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Re: Open bugs and questions?



>   % let "$foo[(I)(|\([^\)]#\))-bar(|[-+=])(|\[[^]]\])(|:*)]"
>   zsh: bad math expression: operand expected at `)(|:*)]'
>   % (( $foo[(I)(|\([^\)]#\))-bar(|[-+=])(|\[[^]]\])(|:*)] ))
>   zsh: command not found: )(|:*)]

% pat='(|\([^\)]#\))-bar(|[-+=])(|\[[^\]]\])(|:*)' 
% (( $foo[(I)$~pat] ))

I haven't tried this out because out of context I haven't the smallest idea
what it's supposed to be doing.

-- 
Peter Stephenson <pws@xxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author