import re


def make_regex(regexes):
    """
    Compile regexes to be used in scanner.

    :param regexes: list of regex
    :return: compiled regex
    """
    return re.compile('(%s)' % ('|'.join(regexes)), re.IGNORECASE|re.MULTILINE)