Skip to content

Commit 8c6c33c

Browse files
committed
add attribution
1 parent 1a58ebf commit 8c6c33c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
'use strict';
99

1010
module.exports = function() {
11+
// Regex is modified from the split device regex in the node.js path module.
1112
return /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?/;
1213
};

0 commit comments

Comments
 (0)