Initial import

This commit is contained in:
2025-11-05 20:35:04 +01:00
commit 5b1fd847c2
4586 changed files with 685044 additions and 0 deletions
+13
View 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}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?/;
};