funnel

Function funnel 

Source
pub fn funnel(text: &str, funnel: &str) -> String
Expand description

Extracts a substring using a funnel specification.

The spec is A,B or A;B where each term is a 1-based index, a negative index from the end, or a quoted pattern. A semicolon treats B as a length relative to A; a comma treats B as an absolute end. Patterns support character ranges like a-z, a leading - for reverse search, and ≠ for negation.