code: def t_STATESHEADER(self, token):
          ur'\#\#\s+<states-list>(?P<title>[^<\n]*)\n'
          title = token.lexer.lexmatch.group("title").decode("utf8")
          token.value = title
          token.lexer.lineno += 1
          return tokef t_STATESHEADER(self, token):
          ur'\#\#\s+<states-list>(?P<title>[^<\n]*)\n'
          title = token.lexer.lexmatch.group("title").decode("utf8")
          token.value = title
          token.lexer.lineno += 1
          return token
docs: ur'\#\#\s+<states-list>(?P<title>[^<\n]*)\n