import re


def regex_or(list_of_strings):
    """Compile a regex matching any of the strings provided."""
    re_str = "(" + "|".join(list_of_strings) + ")"
    return re.compile(re_str, re.IGNORECASE)