pub(crate) fn split_lines(buf: &str) -> Vec<&str>