From 0465810b7539d7b292d2e0f94fa52642d7041267 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 27 Jun 2014 18:35:42 +0200 Subject: [PATCH] Unbreak .dk parsing bug introduced by 1b60bde575. --- pythonwhois/parse.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pythonwhois/parse.py b/pythonwhois/parse.py index caf1951..824ed7a 100644 --- a/pythonwhois/parse.py +++ b/pythonwhois/parse.py @@ -99,7 +99,8 @@ grammar = { 'nserver:\s*(?P[^[\s]+)', 'Name Server[.]+ (?P[^[\s]+)', 'Hostname:\s*(?P[^\s]+)', - 'DNS[0-9]*:\s*(?P.+)', + 'DNS[0-9]+:\s*(?P.+)', + ' DNS:\s*(?P.+)', 'ns[0-9]+:\s*(?P.+)', 'NS [0-9]+\s*:\s*(?P.+)', '\[Name Server\]\s*(?P.+)',