import re


def matchline(line):
   """
   >>> matchline("{{teet}}")
   'teet'
   >>> matchline("teet")


   """
   rg = re.compile("{{(\S*)}}")
   m = rg.match(line.strip())
   if m:
       return m.group(1)
   else:
      return