結果 : how to search a pattern in python