Remove extra space
This commit is contained in:
parent
43b1750892
commit
c27877cab5
|
@ -258,7 +258,7 @@ module Gitlab
|
|||
def single_line_regexp(regex)
|
||||
# Turns a multiline extended regexp into a single line one,
|
||||
# beacuse `rake routes` breaks on multiline regexes.
|
||||
Regexp.new(regex.source.gsub(/\(\?#.+?\)/ , '').gsub(/\s*/, ''), regex.options ^ Regexp::EXTENDED).freeze
|
||||
Regexp.new(regex.source.gsub(/\(\?#.+?\)/, '').gsub(/\s*/, ''), regex.options ^ Regexp::EXTENDED).freeze
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue