code: function mapFactory (params) {
  
      if (typeof params === 'function') {
          return params;
      }
  
      var regs = [];
      (params || []).forEach(function (params) {
          if (typeof params[0] === 'string') {
              params[0] = new RegExp(params[0]);
          }
          regs.push(params);
      });
  
      // @param   {String}
      // @param   {String}
      return regs.length ? function map (src) {
  
          if (!src) {
              return src;
          }
  
          regs.forEach(function (reg) {
              src = src.replace.apply(src, reg);
          });
  
          return src;
  
      } : function (src) {
          return src;
      };
  }
docs: /*
  映射器工厂
  @param   {Array, Function}     映射规则
  @return  {Function}