def METHOD_NAME(
    old: Any,
    new: Any,
    trivial_changes: List[Tuple[str, str, re.RegexFlag]],
) -> bool:
    """Find if there are meaningful differences between the docs"""
    old = pattern.sub(" ", str(old))
    new = pattern.sub(" ", str(new))
    for old_word, new_word, flag in trivial_changes:
        old = re.sub(old_word, "", old, flags=flag)
        new = re.sub(new_word, "", new, flags=flag)
    return old != new