# File lib/thor/util.rb, line 261 def self.escape_globs(path) path.to_s.gsub(/[*?{}\[\]]/, '\\\\\\&') end