--
This commit is contained in:
parent
24f3d27984
commit
6b60015c02
9588 changed files with 1149251 additions and 49 deletions
13
node_modules/path-root-regex/index.js
generated
vendored
Normal file
13
node_modules/path-root-regex/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/*!
|
||||
* path-root-regex <https://github.com/jonschlinkert/path-root-regex>
|
||||
*
|
||||
* Copyright (c) 2016, Jon Schlinkert.
|
||||
* Licensed under the MIT License.
|
||||
*/
|
||||
|
||||
'use strict';
|
||||
|
||||
module.exports = function() {
|
||||
// Regex is modified from the split device regex in the node.js path module.
|
||||
return /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?/;
|
||||
};
|
||||
Loading…
Reference in a new issue