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

This utility class provides functions relating to pattern matching for strings&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct PatternUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/ball/PatternUtil/isMatch.adoc[`isMatch`] 
| Return `true` if `pattern` matches `inputString`, and `false` otherwise&period;
| xref:BloombergLP/ball/PatternUtil/isValidPattern.adoc[`isValidPattern`] 
| Return `true` if `pattern` is a valid pattern string&period;
|===



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