Commit a7ac57a1a33652675b0fe46e869c6fa6e1686ca4

Authored by Dmitriy Zaporozhets
2 parents 36c094b0 686128cd

Merge pull request #6534 from dlorch/master

JIRA project identifiers may also contain dashes '-'
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/gitlab/markdown.rb
... ... @@ -98,7 +98,7 @@ module Gitlab
98 98 (?<prefix>\W)? # Prefix
99 99 ( # Reference
100 100 @(?<user>[a-zA-Z][a-zA-Z0-9_\-\.]*) # User name
101   - |\#(?<issue>([a-zA-Z]+-)?\d+) # Issue ID
  101 + |\#(?<issue>([a-zA-Z\-]+-)?\d+) # Issue ID
102 102 |!(?<merge_request>\d+) # MR ID
103 103 |\$(?<snippet>\d+) # Snippet ID
104 104 |(?<commit>[\h]{6,40}) # Commit ID
... ...