import re


def matches_blacklist(text, blacklist):
    """
    Searches the text for a blacklist match.
    :param text: the text to search
    :param blacklist: a list of blacklist regexs
    :return: True if it found a blacklist match in the text
    """
    # search text for any matching blacklist
    for blacklist_entry in blacklist:
        if re.search(blacklist_entry, text):
            # we found a blacklist match
            return True
    return False