class Pry::Command
def match_score(val)
-
(Fixnum)-
Parameters:
-
val(String) -- A line input at the REPL
def match_score(val) if command_regex =~ val if Regexp.last_match.size > 1 Regexp.last_match.begin(1) else Regexp.last_match.end(0) end else -1 end end