I did this so that the regex would return true if it was "". So there was only 1 error message saying it was required.