private boolean isPotentialMatch(String path, String[] pattDirs) {
        int pos = 0;
        for (String pattDir : pattDirs) {
            int skipped = skipSeparator(path, pos, this.pathSeparator);
            pos += skipped;
            skipped = skipSegment(path, pos, pattDir);
            if (skipped < pattDir.length()) {
                return (skipped > 0 || (pattDir.length() > 0 && isWildcardChar(pattDir.charAt(0))));
            }
            pos += skipped;
        }
        return true;
    }
Actually match the given {@code path} against the given {@code pattern}.

@param pattern   the pattern to match against
@param path      the path to test
@param fullMatch whether a full pattern match is required (else a pattern match
                 as far as the given base path goes is sufficient)
@return {@code true} if the supplied {@code path} matched, {@code false} if it didn't
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/AntPathMatcher.java