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