[][src]Function nanogrep::search

pub fn search<'a>(pattern: &str, content: &'a str) -> Vec<&'a str>

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