/** * @return a new instance of a validator checking for an input string matching the given regex. * @see Validators#validEmpty(Validator) */ public static Validator<String> regexMatching(String regex) { return new RegexValidator(regex); }
/** * @return a new instance of a validator checking for an input string matching the given regex. * @see Validators#validEmpty(Validator) */ public static Validator<String> regexMatching(String regex) { return new RegexValidator(regex); }