diff --git a/GTG/core/urlregex.py b/GTG/core/urlregex.py index 280178836..d64f8af4a 100644 --- a/GTG/core/urlregex.py +++ b/GTG/core/urlregex.py @@ -28,7 +28,7 @@ UTF_CHARS = r'a-z0-9_\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u00ff' SUBST_DICT = { - "domain": r'([\.-]|[^\s_\!\.\/])+\.[a-z]{1,}(?::[0-9]+)?', + "domain": r'([\.-]|[^\s_\!\.\/])+\.[a-z]+(?::[0-9]+)?', "path": r'(?:[\.,]?[%s!\*\'\(\);:&=\+\$/%s#\[\]\-_,~@])' % ( UTF_CHARS, '%'), "query": r'[a-z0-9!\*\'\(\);:&=\+\$/%#\[\]\-_\.,~]',