From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22645 invoked from network); 22 Mar 2001 10:33:36 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 22 Mar 2001 10:33:36 -0000 Received: (qmail 14880 invoked by alias); 22 Mar 2001 10:33:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 13702 Received: (qmail 14865 invoked from network); 22 Mar 2001 10:33:15 -0000 Message-ID: To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: non-greedy matching? In-Reply-To: Your message of "Thu, 22 Mar 2001 00:09:06 GMT." <1010322000906.ZM19046@candle.brasslantern.com> Date: Thu, 22 Mar 2001 10:32:46 +0000 From: Peter Stephenson 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 Software Engineer CSR Ltd., Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070