regexps for ip, domain, hosts all in one place