I am writing a programmatic lexer that inherits from MergableLexerBase. In the lexer I need to able to recognize numeric literals, including decimal, hexdecimal, octal, and binary integers and floating numbers. Can I use Regular Expression to do the parsing? Or Must I hand-write the parser? Is there any sample code that does the similar things?