def _find_guids(guid_string):
 guids = []
 for found_guid in re.finditer(GUID_REGEX, guid_string):
  if found_guid.groups():
   guids.append(found_guid.group(0).strip('{}'))
 return sorted(list(set(guids)))

def _find_guids ( guid_string ) : guids = [ ] for found_guid in re . finditer ( GUID_REGEX , guid_string ) : if found_guid . groups ( ) : guids . append ( found_guid . group ( 0 ) . strip ( '{}' ) ) return sorted ( list ( set ( guids ) ) )
return the set of guids found in guid_string .