Re: bash "extglob" needs to upgrade at least like zsh "kshglob"
From:
Greg Wooledge
Subject:
Re: bash "extglob" needs to upgrade at least like zsh "kshglob"
Date:
Sat, 29 Oct 2022 08:15:21 -0400
On Sat, Oct 29, 2022 at 04:50:00PM +1100, Martin D Kealey wrote:
> This seems like a good reason to simply translate extglobs into regexes,
> which should run in linear time, rather than put effort into building and
> debugging a parallel implementation.
This isn't straightforward, because of the !(list) feature of extglob.
There's no analogous construct for that in standard regexes.