isWildcardPattern#
Fully qualified name: omni::str::isWildcardPattern
Defined in omni/str/Wildcard.h
- inline bool omni::str::isWildcardPattern(
- carb::cpp::string_view pattern,
Tests whether a string is potentially a wildcard pattern.
- Parameters:
pattern – [in] The pattern to test as a wildcard. This will be considered a wildcard if it contains the special wildcard characters ‘*’ or ‘?’.
- Returns:
true
if the pattern is likely a wildcard string. Returnsfalse
if the pattern does not contain any of the special wildcard characters.