RegexpValidator constructor
Implementation
RegexpValidator(
this.regExp, {
String? fieldName,
String? errorMessage,
}) : super(
fieldName: fieldName,
message:
errorMessage ?? 'doesn\'t match to ${regExp.pattern} pattern',
);