diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-26 02:28:08 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-28 05:08:44 +0300 |
commit | e2fa5a7e04ce961be81306e8095e65a911b7af7b (patch) | |
tree | 942387824065592337f90d78ebdf060026ddcc88 /tools | |
parent | dc8676c1292ea15bf65b74b1ab773fd91942512f (diff) | |
download | node-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.js | 2 |
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); |