Function milligrep::search[][src]

pub fn search<'a>(query: &str, contents: &'a str) -> Vec<&'a str>
Expand description

Returns the line(s) where the pattern is matched in the contents of the file. It is case sensitive.