From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Re: Localize MATCH, MBEGIN, etc. in _zstyle and _globquals
Date: Sat, 4 Nov 2017 12:03:03 -0700 [thread overview]
Message-ID: <171104120303.ZM1348@torch.brasslantern.com> (raw)
In-Reply-To: <etPan.59fdf173.2b80f469.98a8@zdharma.org>
On Nov 4, 5:57pm, Sebastian Gniazdowski wrote:
}
} I'm just gonna share something that shows that / substitution could
} allow regex too, in ideal world.
Substitution is *very* tightly connected to the internal glob matcher;
I think it'd be quite a significant refactoring effort to replace that
with calls to the externally-linked regex library -- plus we already
have the PCRE vs. standard regex contortion. There'd also need to be
different syntax (maybe just another (#) marker would to work) to signal
when you want regex interpretation, etc.
next prev parent reply other threads:[~2017-11-04 19:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-29 11:40 Sebastian Gniazdowski
2017-10-29 22:07 ` Phil Pennock
[not found] ` <etPan.59f655ed.1f659851.98a8@AirmailxGenerated.am>
2017-11-02 19:09 ` Sebastian Gniazdowski
2017-11-02 19:57 ` Phil Pennock
[not found] ` <etPan.59fb7aea.497d9379.98a8@AirmailxGenerated.am>
2017-11-04 16:57 ` Sebastian Gniazdowski
2017-11-04 19:03 ` Bart Schaefer [this message]
2017-11-05 16:20 ` Sebastian Gniazdowski
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=171104120303.ZM1348@torch.brasslantern.com \
--to=schaefer@brasslantern.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).