Commit 721e7ff8 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler

parsemail: Ignore case when looking pull request URLs

Seems like Git is doing using capital G to reference itself, whereas the
case sensitive regex matches just the lowercase one. This fixes that
issue.
Signed-off-by: Arkadiusz Hiler's avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent 148f1011
......@@ -204,7 +204,7 @@ def find_pull_request(content):
git_re = re.compile(r'^The following changes since commit.*' +
r'^are available in the git repository at:\n'
r'^\s*([\S]+://[^\n]+)$',
re.DOTALL | re.MULTILINE)
re.DOTALL | re.MULTILINE | re.IGNORECASE)
match = git_re.search(content)
if match:
return match.group(1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment