BloombergLP::ball::PatternUtil::isValidPattern

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.

Synopsis

Declared in <ball_patternutil.h>

static
bool
isValidPattern(char const* pattern);