# File rexml/text.rb, line 81 def Text.parse_stream source, listener md = source.match(PATTERN, true) raise "no text to add" if md[0].length == 0 string = md[1] string = Node::read_with_substitution(string, ILLEGAL) listener.text string end