Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [[ 'abcde' =~ (#i)Bcd ]]
On Tue, Nov 8, 2022 at 2:32 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> > Here WILD suggests a wildcard (a.k.a. glob, a.k.a. pattern) match, but
> > the code is doing a regex match.
>
> Thing is that I need both.
Can you give an example of a use case where you are using a regex and
cannot use a pattern instead? None of the examples you already listed
would qualify.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author