public static boolean find(final String pattern, final String value) {
        return StringUtils.isNotBlank(value) && createPattern(pattern, Pattern.CASE_INSENSITIVE).matcher(value).find();
    }
Attempts to find the next sub-sequence of the input sequence that matches the pattern.

@param pattern the pattern
@param value   the string
@return true/false
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/RegexUtils.java