public static int matchOne(String src, String[] patterns) {
        for (int i = 0; i < patterns.length; i++) {
            if (match(src, patterns[i]) == true) {
                return i;
            }
        }
        return -1;
    }
Matches string to at least one pattern.
Returns index of matched pattern, or <code>-1</code> otherwise.

@see #match(CharSequence, CharSequence)
indexr-common/src/main/java/io/indexr/util/Wildcard.java