Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Localize MATCH, MBEGIN, etc. in _zstyle and _globquals
- X-seq: zsh-workers 41987
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Localize MATCH, MBEGIN, etc. in _zstyle and _globquals
- Date: Sat, 4 Nov 2017 12:03:03 -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=Y3xasIjaQOhtdDnHWIBHDLihV4UouI1RUuHG8Yp3H9E=; b=iQqkoHKAft7YWo4vKxsG4ZHTFsq0VoGvrn/JlzGnGOPApD6sxyD2b9E7GHMQzFVghJ Xfjd/ZCmCPKBJWezsUrxSsa/nfI3R90BABVHDtgafxq9GEu8hBhN66FjWRmd/0YPIfWT 8X7pZC+oAuyRi4xkkkHnh3nJI26yNqnxqZaasVTq6wfwWv4jIO2LOeXa2NYIs70UyAgD gJDKG1E6kMPiiiR+kA/52U3p6DsEFddaJnC61wcgIMYwObBMu8FecbDEKQFTOrnUdWWb d4cy6yh45QI4q0GRSghFvSvWQihyzutz3o7geMVQ6Kjke9+5vGq6zeAYGTocX+vGZV8K hnTQ==
- In-reply-to: <etPan.59fdf173.2b80f469.98a8@zdharma.org>
- 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: <etPan.59f5be1b.1dad7c90.98a8@zdharma.org> <etPan.59f655ed.1f659851.98a8@AirmailxGenerated.am> <etPan.59fb6d5b.6529e0b6.98a8@zdharma.org> <etPan.59fb7aea.497d9379.98a8@AirmailxGenerated.am> <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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author