fn collect_until( lines: &[String], start: usize, max_scan_lines: usize, marker: &str, ) -> Option<Vec<String>>
Collect lines until a marker appears.