def extract_all_time_results(results_string):
 pattern = re.compile('(.*?)user (.*?)system (.*?)elapsed')
 results = []
 for result in pattern.findall(results_string):
  results.append(tuple([to_seconds(elt) for elt in result]))
 return results

def extract_all_time_results ( results_string ) : pattern = re . compile ( '(.*?)user (.*?)system (.*?)elapsed' ) results = [ ] for result in pattern . findall ( results_string ) : results . append ( tuple ( [ to_seconds ( elt ) for elt in result ] ) ) return results
extract user .