Bugtracker: Fix regression in bug detection.
This commit is contained in:
@ -372,7 +372,7 @@ class Bugtracker(callbacks.PluginRegexp):
|
||||
|
||||
# Get tracker name
|
||||
bt = [x.lower() for x in match.group('bt').split()]
|
||||
sure_bug = re.match(r"(?P<type>bug|ticket|issue|pull|pr|merge|mr)('?s)?", bt[-1])
|
||||
sure_bug = re.match(r"^(?P<type>bug|ticket|issue|pull|pr|merge|mr)('?s)?$", bt[-1])
|
||||
|
||||
# Get bug type
|
||||
if sure_bug:
|
||||
|
Reference in New Issue
Block a user