pub fn try_match<F>(
lines: &[&str],
pattern: &[&str],
start_index: usize,
compare: F,
eof: bool,
) -> Option<usize>Expand description
Search for a full pattern with a caller-supplied comparator, optionally anchored at EOF; mirrors patch-parser.ts:247-281.