From: "S. Robert James" Date: 2007-02-22T11:15:09+09:00 Subject: Parser as an alternative to RegExen I'm parsing a large file, currently using compound regexen: PREAMBLE = 'AA' USERID = '\d{8}' USER_HELLO = "#{PREMABLE}(#{USERID})" Is there a simple way to do this using a parser such as ANTLR? I've never used one before, so if it requires a learning curve, I'll stick to my regexen. But if there is a cleaner way to do this, I'd certainly like to.