public static boolean matchAny ( final String pattern , final String [ ] candidate , boolean ignoreCase ) { for ( int i = 0 ; i < candidate . length ; i ++ ) { final String string = candidate [ i ] ; if ( match ( pattern , string , ignoreCase ) ) { return true ; } } return false ; }
return true if at least one candidate matches the given pattern