class Pry::Command::Ls::Grep

def regexp

def regexp
  proc { |x|
    if x.instance_of?(Array)
      x.grep(@grep_regexp)
    else
      x =~ @grep_regexp
    end
  }
end