code: def image_name (txt):
      
      mo = imgtag_re.search(txt)
      if mo:
          name = strformat.unquote(mo.group('name').strip())
          return  _unquote(name)
      return u''
docs: Return the alt part of the first <img alt=""> tag in txt.