std::regex_constants::syntax_option_type
From Cppreference
C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Regular expressions library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <regex.h>
|
||
typedef /*unspecified*/ syntax_option_type;
static constexpr icase = /*unspecified*/; |
||
The syntax_option_type is a type that contains options that govern how regular expressions behave.
[edit] Constants
Value | Effect(s) |
icase | Character matching should be performed without regard to case. |
nosubs | When performing matches, no sub-expression matches should be stored in the supplied std::regex_match structure. |
optimize | Instructs the regular expression engine to make matching faster, with the potential cost of making construction slower. For example, this might mean converting a non-deterministic FSA to a deterministic FSA. |
collate | Character ranges of the form "[a-b]" will be locale sensitive. |
ECMAScript | Use a modified version of the ECMAScript regular expression grammar (ECMA-262). ECMA-262 is also known as JavaScript and is effectively the same as Perl5. |
basic | Use the basic POSIX regular expression grammar (grammar documentation). |
extended | Use the extended POSIX regular expression grammar (grammar documentation). |
awk | Use the regular expression grammar used by the awk utility in POSIX (grammar documentation) |
grep | Use the regular expression grammar used by the grep utility in POSIX. |
egrep | Use the regular expression grammar used by the grep utility, with the -E option, in POSIX. |