Skip to content

Commit ccf1b24

Browse files
vsemozhetbytMylesBorins
authored andcommitted
tools: remove redundant RegExp flag
PR-URL: #20309 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9c11a18 commit ccf1b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/preprocess.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const path = require('path');
66
const fs = require('fs');
77

88
const includeExpr = /^@include\s+([\w-]+)(?:\.md)?$/gmi;
9-
const commentExpr = /^@\/\/.*$/gmi;
9+
const commentExpr = /^@\/\/.*$/gm;
1010

1111
function processIncludes(inputFile, input, cb) {
1212
const includes = input.match(includeExpr);

0 commit comments

Comments
 (0)