Glob-expression matching like UNIX shells.
More...
List of all members.
Detailed Description
Glob-expression matching like UNIX shells.
Expressions may have '*', '?' and [] (e.g. [a-eA-E]) constructions. Also the inverted selection with '^' or '!' supported (e.g. [^x-z] or [!akPZ]). Escape the special chars with '\';
Constructor & Destructor Documentation
| GlobExpr::GlobExpr |
( |
const char * |
s = 0, |
|
|
bool |
casesens = true | |
|
) |
| | [inline] |
| GlobExpr::GlobExpr |
( |
const GlobExpr & |
ge |
) |
[inline] |
Member Function Documentation
| const char* GlobExpr::expressionFailMessage |
( |
|
) |
const [inline] |
Normally null, only filled if invalid expression.
| static bool GlobExpr::matches |
( |
const char * |
expression, |
|
|
const char * |
txt, |
|
|
const char *& |
errmsg_if_expression_is_incorrect, |
|
|
bool |
caseinsens | |
|
) |
| | [static] |
| bool GlobExpr::matches |
( |
const char * |
t |
) |
const [inline] |
| GlobExpr::operator const char * |
( |
|
) |
const [inline] |
| bool GlobExpr::operator== |
( |
const GlobExpr & |
ge |
) |
const [inline] |
| void GlobExpr::set |
( |
const char * |
|
) |
|
| void GlobExpr::setCaseInSensitive |
( |
bool |
yn = true |
) |
[inline] |
| static bool GlobExpr::starMatches |
( |
const char * |
, |
|
|
const char * |
, |
|
|
const char *& |
, |
|
|
bool |
| |
|
) |
| | [static, protected] |
Member Data Documentation