Function find_pointer
pub fn find_pointer(text: &str, id: &str) -> Option<Range<usize>>Expand description
Where in text the line is that points to the kept output id: the byte range (without the
newline) of the first line with the shape of what the kept-output code writes
(kept_header, and the closing line of a command’s view): it starts with [, ends with ]
and holds read_output {"id":"<id>"}. A line that only mentions the words, or names another
id, is none. id is the one of the call whose result text is, so text that a tool copied from
somewhere (a file, a page) cannot name one.