結果 : check if string matches regex python