[#BloombergLP-ball-PatternUtil-isValidPattern]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/PatternUtil.adoc[PatternUtil]::isValidPattern
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `pattern` does not contain a &apos;&apos; not followed by either &apos;&apos; or `&ast;`, or an unescaped `&ast;` at locations other than at the end, and `false` otherwise&period; Note that an unescaped `&ast;` not at the end may someday be considered a valid pattern&period;

== Synopsis

Declared in `&lt;ball&lowbar;patternutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isValidPattern(char const* pattern);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
