Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: pcre callouts
- X-seq: zsh-workers 52256
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <opk@xxxxxxx>
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: pcre callouts
- Date: Mon, 30 Oct 2023 20:40:25 -0700
- Archived-at: <https://zsh.org/workers/52256>
- In-reply-to: <CAH+w=7bNAmZP3x+4n1qYCQBQiTM+9TZgTumVXnAftoeFcHcToA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <72311-1698710659.978677@cDMN.pAu_.Ex7V> <CAH+w=7bNAmZP3x+4n1qYCQBQiTM+9TZgTumVXnAftoeFcHcToA@mail.gmail.com>
On Mon, Oct 30, 2023 at 8:26 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> You could actually use ${.pcre._} I suppose. I'm undecided on whether
> that's better.
>
> We do have a precedent for that now with ${|...} creating a scope.
It occurs to me that if you create a scope, you could also create $_
in that scope with PM_HIDE set, and then use $_ directly with no
namespace needed.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author