default R matches(Pattern regex) {
    Objects.requireNonNull(regex, "regexp");
    return Matchers.extract(this).applyAndCreateRoot(e -> Expressions.binaryCall(StringOperators.MATCHES, e, Expressions.constant(regex)));
  }
Checks wherever string matches regular expression
@param regex pattern to match for
criteria/common/src/org/immutables/criteria/matcher/StringMatcher.java