結果 : how to check valid regex in python