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

Re: file globbing



On 2021-08-05 09:05:19 -0700, Ray Andrews wrote:
> Cool.  I thought zsh always used ' [:digit:]' not the double bracket form.

It is not a double-bracket form. The two brackets have different
meanings: the first one if for a list of characters, and the second
one is for a character class. You can write: [ab[:digit:]cd]

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




Messages sorted by: Reverse Date, Date, Thread, Author