結果 : python if string matches pattern