fixed regex pattern for domain_name ("." was not escaped)