I am building a lexer for a simple programming language, that takes a string as input and returns a list of Tokens, e.g. \'def\' will become T_Def(). I have no problem with