Faulty test case of RegExp input
Proper escaping of subdomain RegExp