Refactoring the lexer to just use a conventional search through a list
of regexps.