docs: public Criteria regex(Pattern pattern) {
          notNull(pattern, "pattern can not be null");
          this.criteriaType = RelationalOperator.REGEX;
          this.right = ValueNode.toValueNode(pattern);
          return this;
      }