Mercurial > p > roundup > code
changeset 2805:5c82183747bb maint-0.7
oops
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 21 Oct 2004 09:28:26 +0000 |
| parents | b602054c97d3 |
| children | d57c06dcb4c2 |
| files | roundup/cgi/templating.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/roundup/cgi/templating.py Wed Oct 20 04:50:15 2004 +0000 +++ b/roundup/cgi/templating.py Thu Oct 21 09:28:26 2004 +0000 @@ -1051,7 +1051,7 @@ class StringHTMLProperty(HTMLProperty): hyper_re = re.compile(r'((?P<url>\w{3,6}://\S+)|' r'(?P<email>[-+=%/\w\.]+@[\w\.\-]+)|' - r'(?P<item>(?P<class>[A-Za-z_]+)(\s*)?(?P<id>\d+)))') + r'(?P<item>(?P<class>[A-Za-z_]+)\s*(?P<id>\d+)))') def _hyper_repl(self, match): if match.group('url'): s = match.group('url')
