Update options for regular expression