import re
re.findall(needle,haystack)
def t_LANGLESLASH(token): r'' return token
def t_NUMBER(token): r"[0-9]+" token.value = int(token.value) return token
def t_STRING(token): r'"[^"]*"' return token
def t_WORD(token): r'[^ <>]+' return token
def t_IDENTIFIER(token): r'[a-zA-Z][a-zA-Z_]*' return token
def t_NUMBER(token): r'-?[0-9]+(:?\.[0-9]*)' return token