fix minify issue with regex items