import re


def _date_tuple(strdate):
    """_date_tuple(strdate)

    Converts a date string of the format "[YY]YY/[M]M/[D]D" into a 3-tuple
    of month, day, and year integers.

    Positional arguments:
        strdate (str) - date string of the format "[YY]YY/[M]M/[D]D"

    Returns:
        tuple ((int, int, int)) - tuple of (year, month, day) integers

    The general input date format should consist of the following, in order:
        1. 1-2 digits
        2. a delimeter from the set "/", "\\", "-", "_", ".", ",", or whitespace
        3. 1-2 digits
        4. another delimeter
        5. 2 or 4 digits
    """

    # Split string and verify length
    s = re.split("[/\\-_., \t]+", strdate)
    if len(s) != 3:
        raise ValueError("input date must include 3 delimited numbers")

    # Read the input numbers
    y = int(s[0])
    m = int(s[1])
    d = int(s[2])

    # Add 2000 to a 2-digit year
    if y < 100:
        y += 2000

    return (y, m, d)