adjust regex to allow subdomains
adjust spec