Module Bogue.Ti_validate.Email

module Email: sig .. end

Implement email validation following HTML specs.


val validator : Ti_validate.validator
val is_valid : string -> bool

is_valid addr is true when (and only when) addr is a valid email address according to the HTML specs.

val hint : string -> string

hint addr returns a message explaining why addr might not be a valid email address.