Skip to content

Commit 0c5f14e

Browse files
committed
Merge pull request #6300 from ivarne/release-0.2
[Backport] fix for #5123
2 parents d69fc32 + 00ea7df commit 0c5f14e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/path.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ end
1212
@windows_only begin
1313
const path_separator = "\\"
1414
const path_separator_re = r"[/\\]+"
15-
const path_absolute_re = r"^(?:\w+:)[/\\]"
15+
const path_absolute_re = r"^(?:\w+:)?[/\\]"
1616
const path_directory_re = r"(?:^|[/\\])\.{0,2}$"
1717
const path_dir_splitter = r"^(.*?)([/\\]+)([^/\\]*)$"
1818
const path_ext_splitter = r"^((?:.*[/\\])?(?:\.|[^/\\\.])[^/\\]*?)(\.[^/\\\.]*|)$"

0 commit comments

Comments
 (0)