結果 : detect pattern in string python