From e2fa5a7e04ce961be81306e8095e65a911b7af7b Mon Sep 17 00:00:00 2001 From: Vse Mozhet Byt Date: Thu, 26 Apr 2018 02:28:08 +0300 Subject: [PATCH] tools: remove redundant RegExp flag PR-URL: https://github.com/nodejs/node/pull/20309 Reviewed-By: Ruben Bridgewater Reviewed-By: Colin Ihrig Reviewed-By: Trivikram Kamat Reviewed-By: James M Snell --- tools/doc/preprocess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);