diff --git a/tools/doc/preprocess.js b/tools/doc/preprocess.js index f8d394735dd30b..554af2ccb77ae0 100644 --- a/tools/doc/preprocess.js +++ b/tools/doc/preprocess.js @@ -6,7 +6,7 @@ const path = require('path'); const fs = require('fs'); const includeExpr = /^@include\s+([\w-]+)(?:\.md)?$/gmi; -const commentExpr = /^@\/\/.*$/gmi; +const commentExpr = /^@\/\/.*$/gm; function processIncludes(inputFile, input, cb) { const includes = input.match(includeExpr);