fix the view regexp not works in windows