From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7022 invoked by alias); 17 Nov 2013 18:40:47 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 31998 Received: (qmail 4650 invoked from network); 17 Nov 2013 18:40:40 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 From: Bart Schaefer Message-id: <131117104041.ZM30561@torch.brasslantern.com> Date: Sun, 17 Nov 2013 10:40:41 -0800 In-reply-to: <20131117052423.GA20827@localhost.localdomain> Comments: In reply to Han Pingtian "[PATCH] don't treat alone grouping pattern as glob qualifier" (Nov 17, 1:24pm) References: <20131117052423.GA20827@localhost.localdomain> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] don't treat alone grouping pattern as glob qualifier MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Nov 17, 1:24pm, Han Pingtian wrote: } } Looks like the alone grouping pattern (s*) is treated as qualifier. That would be correct according to the documentation ... anything in parens that can't be distinguished from a qualifier, is a qualifier, unless you unsetopt BARE_GLOB_QUAL. "A glob subexpression that would normally be taken as glob qualifiers, for example `(^x)', can be forced to be treated as part of the glob pattern by doubling the parentheses, in this case producing `((^x))'." However, I can't immediately think of any reason why a paren should be considered part of a "trailing set" when nothing precedes it ...