Removed incorrect regexp substitution.

This commit is contained in:
Matthias Koefferlein 2020-01-23 17:22:58 +01:00
parent 80b0eae937
commit 925b7c2f33
1 changed files with 1 additions and 2 deletions

View File

@ -422,9 +422,8 @@ module DRC
end
end
def _join_glob_pattern(pattern)
def _join_glob_pattern(exprs)
exprs = pattern.collect { |c| c.gsub(/\?\*\[\]\{\},\(\)\\/) { |x| "\\" + x } }
if exprs.size > 1
expr = "{" + exprs.join(",") + "}"
else