@Override
        public String convert(final Pattern source) {
            return source.pattern();
        }
The type Pattern to string converter.
support/cas-server-support-mongo-core/src/main/java/org/apereo/cas/mongo/BaseConverters.java