[Tracker-discuss] [issue196] RE for matchig revision id's needs tweaking

Raghuram Devarakonda metatracker at psf.upfronthosting.co.za
Fri Mar 7 20:12:41 CET 2008


New submission from Raghuram Devarakonda:

Please check http://bugs.python.org/msg63340. The revision id is not auto-linked
because it is not preceded by whitespace. Replacing '(?P<prews>\s+)' with
'(?P<prews>^|\s+)' would do the trick but that would still leave some other
cases unmatched. I think something like
"(^|[^a-zA-Z0-9])(revision|rev|r)(\s*)(\d+)($|[^a-zA-Z0-9])" would be good. Note
that this regex combines the current separate regexes for revision ids. I will
have to take a closer look before proposing this as patch, though.

----------
messages: 1019
nosy: draghuram
priority: bug
status: unread
title: RE for matchig revision id's needs tweaking

_______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue196>
_______________________________________________________


More information about the Tracker-discuss mailing list