Skip to main content

ripgrep_lines

Function ripgrep_lines 

Source
pub fn ripgrep_lines(
    text_lines: &[String],
    pattern: &str,
    context: usize,
) -> Result<Vec<RipgrepLinesGroup>, String>
Expand description

Grep through text_lines with context-window merging. Returns one RipgrepLinesGroup per merged window.