diff --git a/flask_restx/inputs.py b/flask_restx/inputs.py index b05532f3..9c76d8a0 100644 --- a/flask_restx/inputs.py +++ b/flask_restx/inputs.py @@ -48,7 +48,7 @@ def my_type(value): email_regex = re.compile( - r"^" "(?P[^@]*[^@.])" r"@" r"(?P[^@]+(?:\.[^@]+)*)" r"$", + r"^" "(?P[^@]*[^@.])" r"@" r"(?P[^@\.]+(?:\.[^@\.]+)*)" r"$", re.IGNORECASE, )