fixed regex

can bug when minify