import re


def valid_token(word: str) -> bool:
    """Accept alphanumeric or strings of form A.B"""
    return (word.isalnum() or
            len(re.findall(r'[A-Za-z0-9]+(?:\.[A-Za-z0-9]+)+$', word)) > 0)