work.suroh.tk/node_modules/unc-path-regex/index.js

6 lines
108 B
JavaScript

'use strict';
module.exports = function uncPathRegex() {
return /^[\\\/]{2,}[^\\\/]+[\\\/]+[^\\\/]+/;
};