pub fn parse_table_segments(line: &str) -> Option<Vec<&str>>Expand description
Split a pipe-delimited line into trimmed segments.
Returns None if the line is empty or has no unescaped separator marker.
Leading/trailing pipes are stripped before splitting.
This is intentionally a structural parser, not a renderer. It preserves escaped pipes inside the returned segments because callers only care about whether the line can participate in a table, not how the cell text should finally be displayed.