結果 : check if string is regex python