|
PieDock 1.6.0
|
#include <WildcardCompare.h>
Static Public Member Functions | |
| static const bool | match (const char *, const char *, bool=false) |
Compare strings with wildcards
| const bool WildcardCompare::match | ( | const char * | literal, |
| const char * | pattern, | ||
| bool | caseSensitive = false |
||
| ) | [static] |
Returns if pattern matches string
| literal | - string to match |
| pattern | - pattern with optional wildcard characters (*?) |
| caseSensitive | - true if matching should be case-sensitive (optional) |
Referenced by PieDock::IconMap::getIconByTitle().
1.7.3