private boolean patternMatchesAttributeValue(final Object value) {
        val matcher = value.toString();
        LOGGER.trace("Compiling a pattern matcher for [{}]", matcher);
        return RegexUtils.createPattern(this.pattern).matcher(matcher).matches();
    }
Determine whether pattern matches attribute value.

@param value the value
@return true, if successful
core/cas-server-core-services-api/src/main/java/org/apereo/cas/services/support/RegisteredServiceRegexAttributeFilter.java