From 3b8fc53c848fb9dc2d073a4e91a03894d776f438 Mon Sep 17 00:00:00 2001 From: hernani Date: Tue, 19 Apr 2011 17:55:50 +0000 Subject: [PATCH] Fixes small problem in the auto-linker pattern. git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@993 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/markdownext/mdx_auto_linker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forum/markdownext/mdx_auto_linker.py b/forum/markdownext/mdx_auto_linker.py index 9d77c38..92f3a9f 100644 --- a/forum/markdownext/mdx_auto_linker.py +++ b/forum/markdownext/mdx_auto_linker.py @@ -21,13 +21,13 @@ TLDS = ('gw', 'gu', 'gt', 'gs', 'gr', 'gq', 'gp', 'gy', 'gg', 'gf', 'ge', 'gd', AUTO_LINK_RE = re.compile(r""" (?P.?\s*) (?P - (?P + (?:(?P ((?P[a-z][a-z]+)://)? (?P\w(?:[\w-]*\w)?\.\w(?:[\w-]*\w)?(?:\.\w(?:[\w-]*\w)?)*) ) | (?P ((?P[a-z][a-z]+)://) (?P\w(?:[\w-]*\w)?(?:\.\w(?:[\w-]*\w)?)*) - ) + )) (?P:\d+)? (?P/[^\s<]*)? ) -- 2.39.5