From b3dc4b09988b4fe7d8ff69ad576623d57f7c3b75 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 17 Oct 2025 10:27:19 -0400 Subject: [PATCH] globset: improve debug log This shows the regex that the glob was compiled to. --- crates/globset/src/lib.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/globset/src/lib.rs b/crates/globset/src/lib.rs index 024a3818..27076ea9 100644 --- a/crates/globset/src/lib.rs +++ b/crates/globset/src/lib.rs @@ -503,7 +503,11 @@ impl GlobSet { required_exts.add(i, ext, p.regex().to_owned()); } MatchStrategy::Regex => { - debug!("glob converted to regex: {:?}", p); + debug!( + "glob `{:?}` converted to regex: `{:?}`", + p, + p.regex() + ); regexes.add(i, p.regex().to_owned()); } }