add UTF-8 modifier for the minified regular expression