結果 : python check if pattern matches string