def _parse_id(s):
 match = re.search('[a-f0-9]{8}(-[a-f0-9]{4}){3}-[a-f0-9]{12}', s)
 if match:
  return match.group()

def _parse_id ( s ) : match = re . search ( '[a-f0-9]{8}(-[a-f0-9]{4}){3}-[a-f0-9]{12}' , s ) if match : return match . group ( )
search for a musicbrainz id in the given string and return it .