bug1190: add missing escaped to preg_replace argument