Updating the regular expression generator a little.