We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 018f5d7 commit 2fe7bf2Copy full SHA for 2fe7bf2
crates/uv-globfilter/src/glob_dir_filter.rs
@@ -36,7 +36,9 @@ impl GlobDirFilter {
36
.regex()
37
// We are using a custom DFA builder
38
.strip_prefix("(?-u)")
39
- .expect("a glob is a non-unicode byte regex");
+ .expect("a glob is a non-unicode byte regex")
40
+ // Match windows paths if applicable
41
+ .replace("/", &MAIN_SEPARATOR.to_string());
42
regex
43
})
44
.collect();
0 commit comments