Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug in Functions/Misc/regexp-replace
- X-seq: zsh-workers 48746
- From: Stephane Chazelas <stephane@xxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Bug in Functions/Misc/regexp-replace
- Date: Fri, 30 Apr 2021 06:56:47 +0100
- Archived-at: <https://zsh.org/workers/48746>
- In-reply-to: <YItSCc5bvilHOEC/@CptOrmolo.darkstar>
- List-id: <zsh-workers.zsh.org>
- Mail-followup-to: zsh-workers@xxxxxxx
- References: <CAB5oL3Z4m+vYsGLzkAqw62o3RbUy+N5HpgbBuLn_kK99YPNjDg@mail.gmail.com> <YItSCc5bvilHOEC/@CptOrmolo.darkstar>
2021-04-29 19:40:41 -0500, Matthew Martin:
> On Thu, Apr 29, 2021 at 07:53:52PM -0400, Jacob Menke wrote:
> > Hello,
> >
> > I think I found a bug in Functions/Misc/regexp-replace
>
> > One way to fix:
> > 41: eval ${1}=${(qqq)5}
> >
> > Patch file is attached.
>
> Thanks for the report, minimal reproducer, and patch. I think it would
> make sense to swap the eval for ${(P) ::= here as below.
[...]
I had a patch fixing that and some other issues in that function
in https://www.zsh.org/mla/workers/2020/msg00009.html
but it seems it wasn't applied.
--
Stephane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author