Return true if pattern is a valid pattern string.
Synopsis
Declared in <ball_patternutil.h>
static
bool
isValidPattern(char const* pattern);
Description
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.
Return Value
true if pattern is a valid pattern string, and false otherwise
Parameters
Name |
Description |
pattern |
null‐terminated pattern string to validate |
Created with MrDocs