code: function removeTag(contents, tag) {
    //mac linux
    contents = contents.replace(new RegExp(`\n(.*)\/\/≤${tag}--begin`, 'g'), '');
    contents = contents.replace(new RegExp(`\n(.*)\/\/≤${tag}--end`, 'g'), '');
    //windows
    contents = contents.replace(new RegExp(`\r(.*)\/\/≤${tag}--begin`, 'g'), '');
    contents = contents.replace(new RegExp(`\r(.*)\/\/≤${tag}--end`, 'g'), '');
    return contents;
  }
docs: 移除协议标签'//@xxx--begin(end)'
  @param { stirng } contents 需要移除标签的内容
  @param { stirng } tag 部分正则表达式