結果 : python check string matches pattern