##// END OF EJS Templates
interhg: escape backslashes in docstring
Martin Geisler -
r8910:0c610f77 default
parent child Browse files
Show More
@@ -22,9 +22,9 To enable this extension, add the follow
22 A few example patterns (link to bug tracking, etc.):
22 A few example patterns (link to bug tracking, etc.):
23
23
24 [interhg]
24 [interhg]
25 issues = s!issue(\d+)!<a href="http://bts/issue\1">issue\1</a>!
25 issues = s!issue(\\d+)!<a href="http://bts/issue\\1">issue\\1</a>!
26 bugzilla = s!((?:bug|b=|(?=#?\d{4,}))(?:\s*#?)(\d+))!<a..=\2">\1</a>!i
26 bugzilla = s!((?:bug|b=|(?=#?\\d{4,}))(?:\\s*#?)(\\d+))!<a..=\\2">\\1</a>!i
27 boldify = s!(^|\s)#(\d+)\b! <b>#\2</b>!
27 boldify = s!(^|\\s)#(\\d+)\\b! <b>#\\2</b>!
28 '''
28 '''
29
29
30 import re
30 import re
General Comments 0
You need to be logged in to leave comments. Login now