# File tx.rb, line 300
        def scan(str, &block)
          yield(key, pos, value)
        end