6 lines
108 B
JavaScript

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