2017-08-21 08:50:25 +08:00

6 lines
108 B
JavaScript

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