domainRegex not matching all domains

Updated for better regex