mirror of https://github.com/KLayout/klayout.git
Removed incorrect regexp substitution.
This commit is contained in:
parent
80b0eae937
commit
925b7c2f33
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue