docs: public static int matchPathOne(String platformDependentPath, String... patterns) {
  		for (int i = 0; i < patterns.length; i++) {
  			if (matchPath(platformDependentPath, patterns[i])) {
  				return i;
  			}
  		}
  		return -1;
  	}