jodd-core/src/main/java/jodd/util/Wildcard.java
public static int matchOne(final String src, final String... patterns) {
		for (int i = 0; i < patterns.length; i++) {
			if (match(src, patterns[i])) {
				return i;
			}
		}
		return -1;
	}
public static int matchOne(final String src, final String... patterns) {
		for (int i = 0; i < patterns.length; i++) {
			if (match(src, patterns[i])) {
				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)