Can optimize this on Ruby 1.9: `value.gsub REMAP_MATCH, REMAP`