code: def __parse_entry(entry_line):
      
      if entry_line.startswith("!"):
          entry_line = sub(r"!\w*?_", '', entry_line)
      else:
          entry_line = entry_line.strip()[1:]
      try:
          entry_type, entry_name = [i.strip() for i in entry_line.split("=", 1)]
      except ValueError:
          entry_type = [i.strip() for i in entry_line.split("=", 1)][0]
          entry_name = ''
      return entry_type, entry_name
docs: Parse the SOFT file entry name line that starts with '^', '!' or '#'.
  
      Args:
          entry_line (:obj:`str`): Line from SOFT  to be parsed.
  
      Returns:
          :obj:`2-tuple`: Type of entry, value of entry.