method
match
match(pattern, cons=false)
public
Hide source
# File lib/rexml/source.rb, line 108 def match(pattern, cons=false) md = pattern.match(@buffer) @buffer = $' if cons and md return md end