# File rexml/source.rb, line 154 def match pattern, consume=false rv = super while !rv and @source begin #str = @source.read(@block_size) str = @source.readline('>') str = decode(str) if @to_utf and str @buffer << str rv = super rescue @source = nil end end rv.taint rv end