Scalar
The Email scalar type represents email addresses as specified by the
HTML living standard with some
minor modifications to confirm slightly closer to RFC 2822 (e.g. periods before the @ symbol).
It's implemented using the following Perl-compatible regular expression:
/^(?!.*\.@)(?!.*\.\.)[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/