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

Re: syntactic trivia



On 2021-01-02 7:30 a.m., Stephane Chazelas wrote:

(#i) can be applied to part of a pattern:

[[ $x = ((#i)insenstive)-sensitive ]]

I see.  So whereas the glob modifiers are unique to globbing, '(#i)' and friends are more broadly useful.  Thanks that's exactly the answer.  So '(#i)' is treating '$1*(/N)' simply as a string and doesn't care where it came from.  That's quite clear.





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