Revised regex grammar and began some work on the parser skeleton.