結果 : check if string matches regular expression python