diff options
author | Rémy Coutable <remy@rymai.me> | 2017-02-17 12:25:34 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-02-17 12:34:43 +0300 |
commit | 5a0027236bd424ec9178d846c94092dfac419ec1 (patch) | |
tree | 33049f88e1ae3f731cae3f3f4a9f663cde006383 /lib | |
parent | b08be1659826ae3f0b645334e59f0a2861a709eb (diff) |
Allow slashes in slash command arguments
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/slash_commands/extractor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/slash_commands/extractor.rb b/lib/gitlab/slash_commands/extractor.rb index a672e5e4855..6dbb467d70d 100644 --- a/lib/gitlab/slash_commands/extractor.rb +++ b/lib/gitlab/slash_commands/extractor.rb @@ -103,7 +103,7 @@ module Gitlab (?<cmd>#{Regexp.union(names)}) (?: [ ] - (?<arg>[^\/\n]*) + (?<arg>[^\n]*) )? (?:\n|$) ) |