import re


def _get_ical_event_meta(ical_event):
    """
    Splits the 'UID' tag on the format:
    "event-12@abakus.no", into
    ["event", 12, "abakus.no"]

    usage:

    eventType, pk, domain = _get_ical_event_meta(ical_event)
    """
    return re.split("-|@", ical_event["UID"])