For lexing, let regex do all the work
http://ideone.com/sUnahm
In reply to Re: RFC: Parsing with perl - Regexes and beyond by Anonymous Monk in thread RFC: Parsing with perl - Regexes and beyond by moritz