summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-26 02:28:08 +0300
committerVse Mozhet Byt <vsemozhetbyt@gmail.com>2018-04-28 05:08:44 +0300
commite2fa5a7e04ce961be81306e8095e65a911b7af7b (patch)
tree942387824065592337f90d78ebdf060026ddcc88 /tools
parentdc8676c1292ea15bf65b74b1ab773fd91942512f (diff)
downloadnode-new-e2fa5a7e04ce961be81306e8095e65a911b7af7b.tar.gz
tools: remove redundant RegExp flag
PR-URL: https://github.com/nodejs/node/pull/20309 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/doc/preprocess.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/preprocess.js b/tools/doc/preprocess.js
index f8d394735d..554af2ccb7 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);