# File lib/pry/commands/ls/grep.rb, line 9 def regexp proc { |x| if x.instance_of?(Array) x.grep(@grep_regexp) else x =~ @grep_regexp end } end