import re


def _parse_url_token(url_token):
    """Given activation token from url, parse into expected components."""
    match = re.fullmatch(
        '^([0-9A-Za-z_\-]+)/([0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})$',
        url_token
    )
    if match:
        return match.group(1), match.group(2)
    return None, None