Mercurial > hg
changeset 8909:7bed4ad7b58f
interhg: remove unnecessary escaping
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Fri, 19 Jun 2009 10:24:34 +0200 |
parents | 105343f9f744 |
children | 0c610f77ae1a |
files | hgext/interhg.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/interhg.py Fri Jun 19 14:28:29 2009 +0800 +++ b/hgext/interhg.py Fri Jun 19 10:24:34 2009 +0200 @@ -22,9 +22,9 @@ A few example patterns (link to bug tracking, etc.): [interhg] - issues = s!issue(\d+)!<a href="http://bts/issue\1">issue\1<\/a>! + issues = s!issue(\d+)!<a href="http://bts/issue\1">issue\1</a>! bugzilla = s!((?:bug|b=|(?=#?\d{4,}))(?:\s*#?)(\d+))!<a..=\2">\1</a>!i - boldify = s/(^|\s)#(\d+)\b/ <b>#\2<\/b>/ + boldify = s!(^|\s)#(\d+)\b! <b>#\2</b>! ''' import re