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