hgext/interhg.py
changeset 8910 0c610f77ae1a
parent 8909 7bed4ad7b58f
child 8916 3df8dbf706b0
--- a/hgext/interhg.py	Fri Jun 19 10:24:34 2009 +0200
+++ b/hgext/interhg.py	Fri Jun 19 10:30:18 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>!
-  bugzilla = s!((?:bug|b=|(?=#?\d{4,}))(?:\s*#?)(\d+))!<a..=\2">\1</a>!i
-  boldify = s!(^|\s)#(\d+)\b! <b>#\2</b>!
+  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>!
 '''
 
 import re