# File scripts/parsing-rules.rb, line 125 def apply(text) attrs = Hash.new if text =~ @match @results.each do |f,v| output = text.sub(@conv_match,v) attrs[f] = output if not attrs[f] end end return attrs end