# File lib/rexml/source.rb, line 98 def match_to_consume( char, pattern ) md = pattern.match(@buffer) @buffer = $' return md end