Fix the regular expression bug.