class Pry::Command

def command_regex

def command_regex
  prefix = convert_to_regex(Pry.config.command_prefix)
  prefix = "(?:#{prefix})?" unless options[:use_prefix]
  /\A#{prefix}#{convert_to_regex(match)}(?!\S)/
end