private boolean matchStrings(String pattern, String str,
                                 @Nullable Map<String, String> uriTemplateVariables) {

        return getStringMatcher(pattern).matchStrings(str, uriTemplateVariables);
    }
Test whether a string matches against a pattern.

@param pattern the pattern to match against (never {@code null})
@param str     the String which must be matched against the pattern (never {@code null})
@return {@code true} if the string matches against the pattern, or {@code false} otherwise
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/AntPathMatcher.java