|
|
static constexpr Flag | IgnoreCase = std::regex::icase |
| | Case-insensitive matching.
|
| |
|
static constexpr Flag | NoSubs = std::regex::nosubs |
| | Treat all sub-expressions as non-marking; no matches are stored.
|
| |
|
static constexpr Flag | Optimize = std::regex::optimize |
| | Optimize the regex for faster matching at the cost of slower construction.
|
| |
|
static constexpr Flag | Collate = std::regex::collate |
| | Make character ranges like "[a-b]" locale sensitive.
|
| |
|
static constexpr Flag | ECMAScript = std::regex::ECMAScript |
| | Use the Modified ECMAScript regular expression grammar.
|
| |
|
static constexpr Flag | Basic = std::regex::basic |
| | Use the basic POSIX regular expression grammar.
|
| |
|
static constexpr Flag | Extended = std::regex::extended |
| | Use the extended POSIX regular expression grammar.
|
| |
|
static constexpr Flag | Awk = std::regex::awk |
| | Use the awk POSIX regular expression grammar.
|
| |
|
static constexpr Flag | Grep = std::regex::grep |
| | Use the grep POSIX regular expression grammar.
|
| |
|
static constexpr Flag | EGrep = std::regex::egrep |
| | Use the egrep (grep -E) POSIX regular expression grammar.
|
| |
|
static constexpr Flag | DefaultFlags = ECMAScript | Optimize |
| | Default flags: ECMAScript grammar with optimization enabled.
|
| |
Regular expression wrapper around std::regex.
Provides a simplified interface for pattern matching, searching, and
- Example
auto match =
re.match(
"1920x1080");
}
Dynamic array container wrapping std::vector.
Definition list.h:40
Regular expression wrapper around std::regex.
Definition regex.h:34
bool match(const String &str) const
Tests whether the entire string matches the pattern.
Definition regex.h:110
Encoding-aware string class with copy-on-write semantics.
Definition string.h:35
extracting matches from strings using standard C++ regular expressions.