diff --git a/bot.py b/bot.py index 8b12829..1c9b465 100755 --- a/bot.py +++ b/bot.py @@ -11,7 +11,10 @@ from twisted.web.error import Error TICKET_RE = re.compile(r'#(\d+)') -COMMIT_RE = re.compile(r'r(\d+)') +COMMIT_RE = re.compile(r'(?:^|(\s))r(\d+)') + +# This was the original. It was broken. +# COMMIT_RE = re.compile(r'r(\d+)') LOG_BLACKLIST = [ 'evn',