adjust regex to allow subdomains