public static boolean endsWithIgnoreCase(@Nullable String str, @Nullable String suffix) {
        return (str != null && suffix != null && str.length() >= suffix.length() &&
            str.regionMatches(true, str.length() - suffix.length(), suffix, 0, suffix.length()));
    }
Test if the given {@code String} ends with the specified suffix,
ignoring upper/lower case.

@param str    the {@code String} to check
@param suffix the suffix to look for
see java.lang.String#endsWith
analyzer/src/main/java/nl/basjes/parse/useragent/utils/springframework/util/StringUtils.java