code: def parse_alt_text(alt):
      
      match = re.match(r'([^\{]*)(\{(.*)\})$', alt)
      if match:
          alt = match.group(1)
          args = parse_arglist(match.group(3))
      else:
          args = {}
  
      return alt, args
docs: Parses the arguments out from a Publ-Markdown alt text into a tuple of text, args