http://qs321.pair.com?node_id=1159779


in reply to RFC: Parsing with perl - Regexes and beyond

For lexing, let regex do all the work

http://ideone.com/sUnahm