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 63a9618 commit d0dcd97Copy full SHA for d0dcd97
src/matching.rs
@@ -42,7 +42,8 @@ pub struct FileMeta {
42
}
43
44
pub fn extension_to_regex(extension: &str) -> Regex {
45
- Regex::new(&format!("(?i)\\.{}$", ®ex::escape(extension))).expect("we know this regex compiles")
+ Regex::new(&format!("(?i)\\.{}$", ®ex::escape(extension)))
46
+ .expect("we know this regex compiles")
47
48
49
pub fn adapter_matcher<T: AsRef<str>>(
0 commit comments