mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-11-23 21:54:45 +02:00
globset: improve debug log
This shows the regex that the glob was compiled to.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user