private int skipSeparator(String path, int pos, String separator) {
        int skipped = 0;
        while (path.startsWith(separator, pos + skipped)) {
            skipped += separator.length();
        }
        return skipped;
    }
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