Skip to main content

expand_pattern

Function expand_pattern 

Source
pub fn expand_pattern(
    pattern: &str,
    lookup: &dyn Fn(&str) -> Result<Vec<String>>,
) -> Result<NodeSet>
Expand description

Expand a --on pattern whose top-level comma-separated tokens may be @group references, resolving each through lookup, into a NodeSet. Plain tokens keep full bracket/range syntax.