atkawa7 opened this issue 3 years ago · 1 comments
public CharSequenceConstraint<T, E> pattern(String regex) { this.predicates().add(ConstraintPredicate.of(x -> Pattern.matches(regex, x), CHAR_SEQUENCE_PATTERN, () -> new Object[] { regex }, VALID)); return this; }
Pull requests are welcome!