0.1.1 • Published 6 years ago

@regexp-extra/unc-path v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

RegExp for matching Windows UNC path.

const UNC_PATH = require('@regexp-extra/unc-path');
// -> regular expression


UNC_PATH.test('/foo/bar');
// false

UNC_PATH.test('\\/foo/bar');
// true

new RegExp(UNC_PATH).exec('\\/foo/bar');
// [ '\\/foo/bar', index: 0, input: '\\/foo/bar', groups: undefined ]

NPM

credits: taken directly from regexhq/unc-path-regex.

0.1.1

6 years ago

0.1.0

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago