Class StringMatching used to match different strings against each other as defined by the POSIX fnmatch API (1003.2-1992 section B.6).
More...
#include <StringMatching.h>
|
static bool | matchString (const char *input1, const char *input2) |
| Static method to match two strings.
|
|
static bool | matchPattern (const char *pattern, const char *input) |
| Static method to match a string to a pattern.
|
|
Class StringMatching used to match different strings against each other as defined by the POSIX fnmatch API (1003.2-1992 section B.6).
◆ StringMatching()
◆ ~StringMatching()
◆ matchPattern()
static bool matchPattern |
( |
const char * |
pattern, |
|
|
const char * |
input |
|
) |
| |
|
static |
Static method to match a string to a pattern.
It checks the string specified by the input argument to see if it matches the pattern specified by the pattern argument.
◆ matchString()
static bool matchString |
( |
const char * |
input1, |
|
|
const char * |
input2 |
|
) |
| |
|
static |
Static method to match two strings.
It checks if the input strings match. Any of the strings or both can be a pattern.
The documentation for this class was generated from the following file: