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