def METHOD_NAME(self, setting):
    """Grab regexp list from settings and compiles them."""
    return tuple(
        re.compile(url.replace("{URL_PREFIX}", settings.URL_PREFIX))
        for url in setting
    )