diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -175,7 +175,7 @@ default_encoding = utf8 ## default one used here is # with a regex passive group for `#` ## {id} will be all groups matched from this pattern -issue_pat = (?:\s*#)(\d+) +issue_pat = #(\d+) ## server url to the issue, each {id} will be replaced with match ## fetched from the regex and {repo} is replaced with full repository name diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako +++ b/kallithea/lib/paster_commands/template.ini.mako @@ -268,7 +268,7 @@ default_encoding = utf8 <%text>## default one used here is # with a regex passive group for `#` <%text>## {id} will be all groups matched from this pattern -issue_pat = (?:\s*#)(\d+) +issue_pat = #(\d+) <%text>## server url to the issue, each {id} will be replaced with match <%text>## fetched from the regex and {repo} is replaced with full repository name