code: def _parse_ntthal(ntthal_output):
      ''' Helper method that uses regex to parse ntthal output. '''
      parsed_vals = re.search(_ntthal_re, ntthal_output)
      return THERMORESULT(
          True,                           # Structure found
          float(parsed_vals.group(1)),    # dS
          float(parsed_vals.group(2)),    # dH
          float(parsed_vals.group(3)),    # dG
          float(parsed_vals.group(4))     # tm
      ) if parsed_vals else NULLTHERMORESULf _parse_ntthal(ntthal_output):
      ''' Helper method that uses regex to parse ntthal output. '''
      parsed_vals = re.search(_ntthal_re, ntthal_output)
      return THERMORESULT(
          True,                           # Structure found
          float(parsed_vals.group(1)),    # dS
          float(parsed_vals.group(2)),    # dH
          float(parsed_vals.group(3)),    # dG
          float(parsed_vals.group(4))     # tm
      ) if parsed_vals else NULLTHERMORESULT
docs: Helper method that uses regex to parse ntthal output.