Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug in Functions/Misc/regexp-replace



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