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

Re: file globbing



On 2021-08-05 9:48 a.m., Vincent Lefevre wrote:
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]

Thanks.  Easy to get that wrong.  So it's ' [: ' that should be taken as a single entity and ':] ' likewise.






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