Zsh Mailing List Archive
Messages sorted by:
- X-seq: zsh-users 22646
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: zregexparse
- Date: Sat, 1 Apr 2017 09:43:55 -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=lHKuqsmezo59tqBMJacE74jBPOmaguOx8gPFFLtrSKg=; b=1yUs4PbjjkzZniDWvEngS6xzSftmQ355oG7Ftrr2f8QzdssFOO3+v9fpspgoERc92H L+dOHtmqVq6u+fjAsOs/sYcqDvfeSqTvpqFmeX8S2qUSFNPEdueQZ36M2jYO9zqApHUf mGAFFK2p3lLRzgkC8Vfn2HebJtohsrjFKDhuBUEbJ4ygk+OzgAHSRsb4ENS//x+PFpP7 5otsR5IZ4L1k0ix0lfZ6RMmp0GJfjHxDn6rGmbGX1qXMJ0oFCvgPsThjj6gFaXjODzAl cYNxZtM32g+ZNcslpQunGe1EzsTRYI6ANGO4sKHWaUp/GTyz6XhzYACvoiOUT/59EnmT eMGA==
- In-reply-to: <etPan.58df7f42.140e0f76.17199@MacMini.local>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <etPan.58db747f.515f007c.17199@MacMini.local> <170330221929.ZM18456@torch.brasslantern.com> <etPan.58ddeed9.12200854.17199@MacMini.local> <etPan.58ddfe2c.216231b.17199@MacMini.local> <170331141359.ZM24862@torch.brasslantern.com> <etPan.58df7f42.140e0f76.17199@MacMini.local>
On Apr 1, 12:21pm, Sebastian Gniazdowski wrote:
} Subject: Re: zregexparse
} On 31 march 2017 at 23:15:31, Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx) wrote:
} > The return values from zregexparse are pretty strongly tailored to be
} > used with compset and compadd, and it does nothing useful with $match
} > and friends -- it's not tied into glob pattern referencing at all.
} Let me just express regret about this outcome.
It's not so much an "outcome" as a statement of fact. zregexparse was
written to solve a particular problem. At the time there was no reason
to consider having a generalized regex library; the =~ operator (and
the ability to have modules define operators) had not yet been added.
This is just one of the corners of the code that has not been paid
any attention in a very long time (it's essentially unchanged since
2001 or so).
} One IRC user once reported problems
} with some completions, because he sincerely configured BSD port as
} static build (no zsh/regex by default). I then quickly removed regex
} usage from _hosts, but the patch wasn't accepted
If you're referring to your post from March 8th, this appears to have
been a case of something missed because no one had time to commit it
right then, not an intentional rejection.
Messages sorted by: