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