SshKnownHosts.patternMatches
private
bool patternMatches(string pattern,
string candidate) static @safe pure nothrowMatches one non-hashed pattern against one candidate.
Parameters
pattern | Pattern with * and ? wildcards, lowercased by the caller. |
candidate | Candidate string. |
Returns
True when the pattern matches the whole candidate.