method
match
v2_1_10 -
Show latest stable
- Class:
REXML::Source
match(pattern, cons=false)public
No documentation available.
# File lib/rexml/source.rb, line 99
def match(pattern, cons=false)
md = pattern.match(@buffer)
@buffer = $' if cons and md
return md
end