Fully Implemented the Regex Parser