結果 : python test if string matches pattern