update regular expression references