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.