Remove regexlib.py and clean up lex_base