fix some syntax error in regex rule