import re


def regex_password(password):
    """
    Regex
    Password includes at least one digit, one uppercase letter, one lowercase letter, and one special character.
    """
    # The {8,} means "at least 8".
    # print(re.match(r"^(?=.*[\d])(?=.*[A-Z])(?=.*[a-z])(?=.*[@#$%^&*?!+-_=])[\w\d@#$]{8,}", password))
    print("regex: ", re.match(r"^(?=.*[\d])(?=.*[A-Z])(?=.*[a-z])(?=.*[@#$%^&*?!+-_=])[\w\d@#$]", password))
    return re.match(r"^(?=.*[\d])(?=.*[A-Z])(?=.*[a-z])(?=.*[@#$%^&*?!+-_=])[\w\d@#$]", password)