diff --git a/pythonwhois/parse.py b/pythonwhois/parse.py index 9ce6a65..bb231cd 100644 --- a/pythonwhois/parse.py +++ b/pythonwhois/parse.py @@ -75,8 +75,8 @@ grammar = { '(?P[a-z0-9-]+\.d?ns[0-9]*\.([a-z0-9-]+\.)+[a-z0-9]+)', '(?P([a-z0-9-]+\.)+[a-z0-9]+)(\s+([0-9]{1,3}\.){3}[0-9]{1,3})', '[^a-z0-9.-](?Pd?ns\.([a-z0-9-]+\.)+[a-z0-9]+)'], - 'emails': ['(?P[\w.-]+@[\w.-]+\.[\w]{2,4})', - '(?P[\w.-]+\sAT\s[\w.-]+\sDOT\s[\w]{2,4})'] + 'emails': ['(?P[\w.-]+@[\w.-]+\.[\w]{2,6})', # Really need to fix this, much longer TLDs now exist... + '(?P[\w.-]+\sAT\s[\w.-]+\sDOT\s[\w]{2,6})'] }, "_dateformats": ( '(?P[0-9]{1,2})[./ -](?PJan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[./ -](?P[0-9]{4}|[0-9]{2})'