Updating the regular expression parsing.