結果 : check if value matches regex python