結果 : check if string follows regex python