Correct some regular expression