A regex for correctly validating a domain label according to RFCs 1035 & 1123