update regular expression resources