run_make_support::string

Function count_regex_matches_in_files_with_extension

source
pub fn count_regex_matches_in_files_with_extension(
    re: &Regex,
    ext: &str,
) -> usize
Expand description

Gathers all files in the current working directory that have the extension ext, and counts the number of lines within that contain a match with the regex pattern re.