star_match

Function star_match 

Source
fn star_match(pattern: &str, value: &str, sep: &str) -> bool
Expand description

Simple star matching: each segment separated by sep is compared. “*” matches any single segment, “**” matches any remaining segments.