Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Allow / in full pattern alternations
- X-seq: zsh-workers 38280
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH: Allow / in full pattern alternations
- Date: Mon, 11 Apr 2016 07:44:20 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=sa0TepRRFnDYI7a0GEEr7OMcKmFH37pXt25k0MUzjYk=; b=oMMMNsO+ImR9zCwMGIrlWpHBXICN2gz9aYhQmoZiWGpTXHLwgCz7Mp7FOm8+Iym22M /eg06fa9Z07SK5e2DOyb1ZKY7kJ2rgl8EjF273jedh6hIQAh5qfTj7utF4RlnIznJya8 cLKBHfX6EnkOYVDEcZN6yEy+LbYXpYKP3XTBT0VMtVbRk/HIwLcLUTi508RAxrrL5Zvr wIaorOvhXYL4qjWR5Y8OmrxNDHBLUZaRk6fv6hque6z/q5+a/++CAoQ5c01RtjBJnvHI UCJNOqFHSz2xEKjLvjfpfLmzTf1xYGhcOdiL/fWCwEhmTIZ2u3W61nFdAf2lIQjJBdds B7tw==
- In-reply-to: <1460376374-9081-1-git-send-email-mikachu@gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAHYJk3SEeghkbpLCE26bG_76nM5PYp9MF68AO1ue00DHTwRV6A@mail.gmail.com> <1460376374-9081-1-git-send-email-mikachu@gmail.com>
On Apr 11, 2:06pm, Mikael Magnusson wrote:
}
} Well, it was a bit easier than I thought.
What you've done is pretty close to what I was expecting/explaining
with respect to adding it as a parameter flag, except without actually
splitting up zglob() or looping over a parameter value.
This sort of thing would actually be easier in the ksh model where a
prefix character tells you what to expect from the parenthesized group
that follows. Maybe we can do the same with an extendedglob marker
similar to (#m) [yes, I know (#m) itself doesn't work in globbing].
Messages sorted by:
Reverse Date,
Date,
Thread,
Author