結果 : check if regex matches string python