def positive_dice_parse(dice: str) -> str:
    """
    :param dice: Formatted string, where each line is blank or matches
                    t: [(t, )*t]
                    t = (0|T|2A|SA|2S|S|A)
                        (note: T stands for Triumph here)
    :return: Formatted string matching above, except tokens are replaced
                    with their corresponding values in the 4-tuple system,
                    (successes, advantages, triumphs, despairs)
    """
    return dice.replace("0", "(0, 0, 0, 0)")\
               .replace("T", "(1, 0, 1, 0)")\
               .replace("2A", "(0, 2, 0, 0)")\
               .replace("SA", "(1, 1, 0, 0)")\
               .replace("2S", "(2, 0, 0, 0)")\
               .replace("S", "(1, 0, 0, 0)")\
               .replace("A", "(0, 1, 0, 0)")