File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
website/issues/extensions Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 44 '<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=\g<id>">debian#\g<id></a>' ),
55 (re .compile ('\#(?P<ws>\s*)(?P<id>\d+)' ),
66 "<a href='issue\g<id>'>#\g<ws>\g<id></a>" ),
7- (re .compile ('(?P<prews>^|\s+)(?P<revstr>(revision|rev|r)\s?)(?P<revision>[\da-fA-F]+)(?P<postws>\s +|$)' ),
8- "\g<prews><a href='http://sourceforge.net/p/roundup/code/ci/\g<revision>'>\g<revstr>\g<revision></a>" ),
7+ (re .compile ('(?P<prews>^|\s+)(?P<revstr>(revision|rev|r)\s?)(?P<revision>[\da-fA-F]+)(?P<post>\W +|$)' ),
8+ "\g<prews><a href='http://sourceforge.net/p/roundup/code/ci/\g<revision>'>\g<revstr>\g<revision>\g<post> </a>" ),
99 ]
1010
1111def local_replace (message ):
@@ -29,5 +29,6 @@ def init(instance):
2929 print " references" , local_replace (" references" ) # should fail
3030 print " too many spaces r 222" , local_replace (" too many spaces r 222" ) # should fail
3131 print " r7140eb" , local_replace (" r7140eb" )
32- print " rev7140eb " , local_replace (" rev7140eb" )
32+ print " rev7140eb " , local_replace (" rev7140eb " )
3333 print "rev7140eb" , local_replace ("rev7140eb" )
34+ print "rev7140eb," , local_replace ("rev7140eb," )
You can’t perform that action at this time.
0 commit comments