def t_TITLE(self, token):
        ur'\#\s+<wca-title>(?P<title>.+)\n'
        token.value = token.lexer.lexmatch.group("title").decode("utf8")
        token.lexer.lineno += 1
        return token
def t_TITLE ( self , token ) : ur '\#\s+<wca-title>(?P<title>.+)\n' token . value = token . lexer . lexmatch . group ( "title" ) . decode ( "utf8" ) token . lexer . lineno += 1 return token
ur'\#\s+<wca-title>(?P<title>.+)\n