Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: non-greedy matching?
- X-seq: zsh-workers 13702
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
- Subject: Re: non-greedy matching?
- Date: Thu, 22 Mar 2001 10:32:46 +0000
- In-reply-to: Your message of "Thu, 22 Mar 2001 00:09:06 GMT." <1010322000906.ZM19046@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart wrote:
> And having this as a parameter expansion flag doesn't help when it
> comes to glob patterns, which is (I rationalize) why I never thought
> of searching for it.
>
> Anyone for adding another extendedglob flag? (#g)? (Maybe another
> letter would be better, since the flag would turn -off- greediness.)
It's not currently done in the globbing code, it's done by looping in the
parameter code. It could be tricky to add directly.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR Ltd., Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author