class Gem::Commands::DependencyCommand
def name_pattern args
def name_pattern args args << '' if args.empty? if args.length == 1 and args.first =~ /\A\/(.*)\/(i)?\z/m then flags = $2 ? Regexp::IGNORECASE : nil Regexp.new $1, flags else /\A#{Regexp.union(*args)}/ end end