code: function removeMultiLineComments(content) {
    const beginRegExp = /(^|\n)=begin\s/;
    const endRegExp = /(^|\n)=end\s/;
    let newContent = content;
    let i = newContent.search(beginRegExp);
    let j = newContent.search(endRegExp);
    while (i !== -1 && j !== -1) {
      if (newContent[i] === '\n') {
        i += 1;
      }
      if (newContent[j] === '\n') {
        j += 1;
      }
      j += '=end'.length;
      newContent = newContent.substring(0, i) + newContent.substring(j);
      i = newContent.search(beginRegExp);
      j = newContent.search(endRegExp);
    }
    return newContent;
  }
docs: Remove multi-line comments enclosed between =begin and =end