Skip to content

Commit ccf1b24

Browse files
vsemozhetbytMylesBorins
authored andcommitted
tools: remove redundant RegExp flag
PR-URL: #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>
1 parent 9c11a18 commit ccf1b24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/doc/preprocess.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const path = require('path');
66
constfs=require('fs');
77

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

1111
functionprocessIncludes(inputFile,input,cb){
1212
constincludes=input.match(includeExpr);

0 commit comments

Comments
 (0)