interhg: remove unnecessary escaping
authorMartin Geisler <mg@lazybytes.net>
Fri, 19 Jun 2009 10:24:34 +0200
changeset 8909 7bed4ad7b58f
parent 8908 105343f9f744
child 8910 0c610f77ae1a
interhg: remove unnecessary escaping
hgext/interhg.py
--- 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