code: function isEx(obj, tmplRule, noParams) {
    var ret,
        ret1 = tmplRule.extension.exec(obj);
  
    if (ret1) {
      ret = [ret1[1]];
  
      if (!noParams) {
        var params = getOpenTagParams(obj, tmplRule); //提取各参数
  
        if (params) {
          ret.push(params);
        }
      }
    }
  
    return ret;
  }
docs: 判断扩展标签并返回参数