# File scripts/parsing-rules.rb, line 183 def initialize(match, results={}, subst_rules={}, case_sens=false) super(match, results, case_sens) @subst_rules = Hash.new subst_rules.each do |f, old_new| if case_sens old_pat = Regexp.new(old_new[0]) else old_pat = Regexp.new(old_new[0], Regexp::IGNORECASE) end new_str = old_new[1] @subst_rules[f] = old_pat, new_str end end