is_valid regex added