Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/node_modules.5/path-root-regex/
Upload File :
Current File : /home/infinitibizsol/.trash/node_modules.5/path-root-regex/index.js

/*!
 * 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}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?/;
};

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists