refs = set([r.strip() for r in refnames.strip("()").split(",")])