Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zstyle: "more specific" patterns and *-components
- X-seq: zsh-workers 45738
- From: dana <dana@xxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Subject: Re: zstyle: "more specific" patterns and *-components
- Date: Tue, 28 Apr 2020 14:30:11 -0500
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- In-reply-to: <20200428190601.0f0c8503@tarpaulin.shahaf.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20200427101430.447e2a21@tarpaulin.shahaf.local2> <CAN=4vMpWqnb+uVjXdPa9E+c4kLMPt4z0gaScPeYthHuA1m4EMg@mail.gmail.com> <20200428190601.0f0c8503@tarpaulin.shahaf.local2>
On 28 Apr 2020, at 14:06, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> I don't immediately see the rationale behind your proposed scoring. The
> two patterns you mention, «:foo» and «:foo:*», don't seem parallel to
> each other, since there's no possible context that can be matched by
> both of them.
Well, the example i gave was :foo: vs :foo:*, not :foo vs :foo:*.
But you're right, anyway. I was too focussed on my issue with the * patterns
to see the much simpler and more general fix re: the number of components.
Just looking at it, i think what you're suggesting addresses everything, ty
dana
Messages sorted by:
Reverse Date,
Date,
Thread,
Author