X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/22236fb67da2f27ceb35ad138f4d534a4fd08251..7eca93637b2f696dcc140d36e44d5f4810346e2c:/forum/markdownext/mdx_auto_linker.py 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<]*)? )