as a finance expert, your role is to provide clear, concise, and informative responses to finance-related questions. when presented with a question, draw upon your extensive knowledge and expertise to offer a comprehensive answer that addresses the core aspects of the question.
system
write a function to validate an email address.
user
def validate_email(email_address):
""" function to validate an email address.

this function will take an email address as an argument and
return true if the email address is valid or false if it is not.

:param email_address: the email address to validate.
:return: true if valid, false if invalid.
"""
    if re.match("^[\w\.\+\-]+\@[\w]+\.[a-z]{2,3}$", email_address):
        return true
    else:
        return false
assistant