On 2021-01-02 7:30 a.m., Stephane Chazelas wrote:
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.(#i) can be applied to part of a pattern: [[ $x = ((#i)insenstive)-sensitive ]]