zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: [PATCH] don't treat alone grouping pattern as glob qualifier
Date: Mon, 18 Nov 2013 10:31:40 +0000	[thread overview]
Message-ID: <20131118103140.7d9e642a@pwslap01u.europe.root.pri> (raw)
In-Reply-To: <131117104041.ZM30561@torch.brasslantern.com>

On Sun, 17 Nov 2013 10:40:41 -0800
Bart Schaefer <schaefer@brasslantern.com> wrote:
> 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 ...

No, and that quote says "*part* of the glob pattern".  I think the patch
is probably the right way to go.

pws


      parent reply	other threads:[~2013-11-18 10:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-17  5:24 Han Pingtian
2013-11-17 18:40 ` Bart Schaefer
2013-11-18  0:30   ` Han Pingtian
2013-11-18  3:42     ` Bart Schaefer
2013-11-18 10:42       ` Peter Stephenson
2013-11-18 10:31   ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131118103140.7d9e642a@pwslap01u.europe.root.pri \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).