Return true if pattern is a valid pattern string.
Declared in <ball_patternutil.h>
static
bool
isValidPattern(char const* pattern);
Return true if the specified pattern does not contain a '' not followed by either '' or *, or an unescaped * at locations other than at the end, and false otherwise. Note that an unescaped * not at the end may someday be considered a valid pattern.
true if pattern is a valid pattern string, and false otherwise
| Name | Description |
|---|---|
| pattern | null-terminated pattern string to validate |