Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ccf1b24

Browse filesBrowse 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
Copy full SHA for ccf1b24

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎tools/doc/preprocess.js‎

Copy file name to clipboardExpand all lines: tools/doc/preprocess.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.