modify regular expression