hooks.check_valid_email_address_format

hooks.check_valid_email_address_format(email: str) None

Check that an email address is of a valid format using regular expressions.

Uses a regular expression pattern based on the HTML5 standard for email address format.

Parameters

email – An email address to validate.

Returns

None - raises an AssertionError if email is not a valid email address format.