Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
* Returns a regular expression that matches an extended-length path.
*
* @returns {RegExp} regular expression
*
* @example
* var RE_EXTENDED_LENGTH_PATH = reExtendedLengthPath();
* var bool = RE_EXTENDED_LENGTH_PATH.test( '\\\\?\\C:\\foo\\bar' );
* // returns true
*
* bool = RE_EXTENDED_LENGTH_PATH.test( 'C:\\foo\\bar' );
* // returns false
*/
function reExtendedLengthPath() {
return /^\\\\\?\\.+/;
Expand Down