def METHOD_NAME(pattern, *values):
    result: List[Optional[Tuple[Any, ...]]] = []
    for value in values:
        try:
            val = re.match(pattern, value)
        except TypeError:
            result.append(None)
        else:
            result.append(val.groups() if val else None)
    return result