Skip to main content

is_email

Function is_email 

Source
pub fn is_email(s: &str) -> bool
Expand description

Email — permissive RFC 5321 addr-spec. protovalidate’s reference implementation allows leading/trailing and consecutive dots in the local part but rejects a trailing dot on the domain.