regular expression updates