Skip to content

Commit e80a159

Browse files
author
Richard Jones
committed
oops
1 parent 795b5b3 commit e80a159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/cgi/templating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ def __cmp__(self, other):
736736
class StringHTMLProperty(HTMLProperty):
737737
url_re = re.compile(r'\w{3,6}://\S+')
738738
email_re = re.compile(r'\w+@[\w\.\-]+')
739-
designator_re = re.compile(r'([a-z_]+)([\d+])')
739+
designator_re = re.compile(r'([a-z_]+)(\d+)')
740740
def _url_repl(self, match):
741741
s = match.group(0)
742742
return '<a href="%s">%s</a>'%(s, s)

0 commit comments

Comments
 (0)