def it IRB.CurrentContext.last_value end def rv RUBY_VERSION end def show_match(s, re) if s =~ re then "#{$`}<<#{$&}>>#{$'}" else "no match" end end alias :sm :show_match