![Avatar](https://secure.gravatar.com/avatar/73e472171d9d120ad5170e7fe700603d.jpg?s=64&d=identicon&r=g)
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?
Thanks,
Xuesong Wu