# File scanf.rb, line 169 def match(str) s = str.dup s.sub!(/\A\s+/,'') unless count_space? res = to_re.match(s) if res @conversion = send(@handler, res[1]) @matched_string = @matched_item.to_s end res end