diff --git a/src/b4/pr.py b/src/b4/pr.py index 2d0ce23..0b0299a 100644 --- a/src/b4/pr.py +++ b/src/b4/pr.py @@ -38,7 +38,8 @@ # I don't like these PULL_BODY_REMOTE_REF_RE = [ - re.compile(r'^\s*([\w+-]+(?:://|@)[\w/.@:~-]+)[\s\\]+([\w/._-]+)\s*$', re.M | re.I), + # match string like: "https://git.kernel.org/pub/scm/linux/kernel/git/conor/linux.git/ riscv-dt-fixes-for-v6.10-rc5+" + re.compile(r'^\s*([\w+-]+(?:://|@)[\w/.@:~-]+)[\s\\]+([\w/._+-]+)\s*$', re.M | re.I), re.compile(r'^\s*([\w+-]+(?:://|@)[\w/.@~-]+)\s*$', re.M | re.I), ]