@staticmethod
def _search_patterns(content, patterns):
    """ Returns the regex of the first pattern that matches specified content, None if nothing matches """
    for pattern in patterns:
        if pattern.search(content):
            return pattern.pattern
    return None
