#include <regex.h>
Definition at line 18 of file regex.h.
anonymous enum : unsigned int |
Enumerator |
---|
CASE_INSENSITIVE |
|
GLOB |
|
Definition at line 20 of file regex.h.
ARCH_API ArchRegex::ArchRegex |
( |
const std::string & |
pattern, |
|
|
unsigned int |
flags = 0 |
|
) |
| |
Create with pattern and optional flags.
ARCH_API std::string ArchRegex::GetError |
( |
| ) |
const |
Returns the reason the regex is invalid or the empty string if it's valid.
Returns the flags used to construct the regex.
ARCH_API bool ArchRegex::Match |
( |
const std::string & |
query | ) |
const |
Returns true
if the regex matches query
anywhere, otherwise returns false
.
ARCH_API ArchRegex::operator bool |
( |
| ) |
const |
|
explicit |
Returns true
if the regex is valid.
The documentation for this class was generated from the following file: