ProcessQuery.globMatch

private bool globMatch(string str, string pattern)

Matches a string against a glob pattern.

Parameters

strThe string to match.
patternThe glob pattern.

Returns

true if the string matches the pattern, false otherwise.