From: richard Date: Wed, 18 Dec 2002 05:24:41 +0000 (+0000) Subject: oops X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6e4aacfbaff9f8bf67a931d490bc6e9f38e427a1;p=roundup.git oops git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1416 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index b65dec5..2fe6d23 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -736,7 +736,7 @@ class HTMLProperty: class StringHTMLProperty(HTMLProperty): url_re = re.compile(r'\w{3,6}://\S+') email_re = re.compile(r'\w+@[\w\.\-]+') - designator_re = re.compile(r'([a-z_]+)([\d+])') + designator_re = re.compile(r'([a-z_]+)(\d+)') def _url_repl(self, match): s = match.group(0) return '%s'%(s, s)