Skip to main content

count_pattern

Function count_pattern 

Source
pub fn count_pattern(output: &str, pattern: &str) -> usize
Expand description

Count lines matching a pattern in the output.