from typing import Sequence
import re


def _validate_against_blacklist(string: str, blacklist: Sequence[str]):
    """Validates a string against a regex blacklist."""
    return not any(re.search(pattern, string, re.IGNORECASE) for pattern in blacklist)