From 09cf2c2aee797293bbe6829601f500be3e62bccf Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 19 2016 08:17:22 +0000 Subject: Adjust the fork/main issue regex So that we can cross link to project using # or # where the project name contains a dash '-'. Relates to https://pagure.io/pagure/issue/1406 --- diff --git a/pagure/pfmarkdown.py b/pagure/pfmarkdown.py index 4fa826a..fe1b54d 100644 --- a/pagure/pfmarkdown.py +++ b/pagure/pfmarkdown.py @@ -31,8 +31,8 @@ import pagure.lib MENTION_RE = r'@(\w+)' -EXPLICIT_FORK_ISSUE_RE = r'(\w+)/(\w+)#([0-9]+)' -EXPLICIT_MAIN_ISSUE_RE = r'[^|\w](?