class RegExUtils {

    public static RegEx getInstance(final String pattern) {
        if (StringUtils.isBlank(pattern)) {
            return NULL;
        }
        return CACHE.computeIfAbsent(pattern, RegEx::new);
    }

    private  RegExUtils();

}