New parser using regular expression