We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2921436 commit 83b03e2Copy full SHA for 83b03e2
lib/link-paths.js
@@ -2,7 +2,7 @@
2
3
/* eslint-disable no-multi-str, prefer-const, func-names */
4
let linkPaths;
5
-const regex = /((?:\\w:)?\/?(?:[-\\w.]+\/)*[-\\w.]+):(\\d+)(?::(\\d+))?/g;
+const regex = /((?:\w:)?\/?(?:[-\w.]+\/)*[-\w.]+):(\d+)(?::(\d+))?/g;
6
// ((?:\w:)?/? # Prefix of the path either '/' or 'C:/' (optional)
7
// (?:[-\w.]+/)*[-\w.]+) # The path of the file some/file/path.ext
8
// :(\d+) # Line number prefixed with a colon
0 commit comments