結果 : check if text matches regex python