MatchesEmail

constructor(code: String = DEFAULT_CODE, severity: ValidationIssueSeverity = ValidationIssueSeverity.Error)(source)

Parameters

code

Issue code to use when the string is not empty and does not match an email.

severity

Severity of the issue emitted when the string is not empty and does not match an email.