Skip to content

Commit 83b03e2

Browse files
committed
chore: remove excess \ escaping
1 parent 2921436 commit 83b03e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/link-paths.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/* eslint-disable no-multi-str, prefer-const, func-names */
44
let linkPaths;
5-
const regex = /((?:\\w:)?\/?(?:[-\\w.]+\/)*[-\\w.]+):(\\d+)(?::(\\d+))?/g;
5+
const regex = /((?:\w:)?\/?(?:[-\w.]+\/)*[-\w.]+):(\d+)(?::(\d+))?/g;
66
// ((?:\w:)?/? # Prefix of the path either '/' or 'C:/' (optional)
77
// (?:[-\w.]+/)*[-\w.]+) # The path of the file some/file/path.ext
88
// :(\d+) # Line number prefixed with a colon

0 commit comments

Comments
 (0)