Skip to main content

is_host_pattern

Function is_host_pattern 

Source
pub fn is_host_pattern(pattern: &str) -> bool
Expand description

Returns true if the host pattern contains wildcards, character classes, negation or whitespace-separated multi-patterns (*, ?, [], !, space/tab). These are SSH match patterns, not concrete hosts.