Changed some of the code for the lexical analysis of the cfg. Added a mode that prevents the cfg from needing escape sequences on certain regex metacharacters.