function WildcardMatch(const Text, Pattern: String): Boolean;
Returns True if the specified text matches the specified pattern.