I've been using this for doing some filtering from an array: matched=(${(M)array:#*$patt*}) Now I need to have an option of case insensitive search. Looked through the user's guide and other sources but I don't see a flag to ignore case. Is there a way without changing this to use grep. I also dont suppose approximate matching can be used here (that's only for filename globbing, right?) -- rahul