2025-08-05 23:51:42 +08:00

6 lines
108 B
JavaScript

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