結果 : how to search for a pattern in a string python