def parse_regions(text):
    """Return a list of (start, end) tuples."""
    _regions = []
    region_pairs = text.strip().split(",")
    for region_pair in region_pairs:
        split_pair = region_pair.split("..")
        start = split_pair[0]
        end = split_pair[1]
        _regions.append([start, end])
    return _regions