can now pass a regex to the canonical subdomain