0.1.1 • Published 7 years ago

@regexp-extra/unc-path v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 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

7 years ago

0.1.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago