isValid is now Regex