std::basic_regex<CharT,Traits>::flags - cppreference.com (original) (raw)
| Localization library |
|---|
| Regular expressions library (C++11) |
| Formatting library (C++20) |
| Null-terminated sequence utilities |
| Byte strings |
| Multibyte strings |
| Wide strings |
| Primitive numeric conversions |
| to_chars(C++17) to_chars_result(C++17) from_chars(C++17) from_chars_result(C++17) chars_format(C++17) |
| Text encoding identifications |
| text_encoding(C++26) |
| Classes |
|---|
| basic_regex(C++11) |
| sub_match(C++11) |
| match_results(C++11) |
| Algorithms |
| regex_match(C++11) |
| regex_search(C++11) |
| regex_replace(C++11) |
| Iterators |
| regex_iterator(C++11) |
| regex_token_iterator(C++11) |
| Exceptions |
| regex_error(C++11) |
| Traits |
| regex_traits(C++11) |
| Constants |
| syntax_option_type(C++11) |
| match_flag_type(C++11) |
| error_type(C++11) |
| Regex Grammar |
| Modified ECMAScript-262(C++11) |
| Member Functions |
|---|
| basic_regex::basic_regex |
| basic_regex::~basic_regex |
| basic_regex::operator= |
| basic_regex::assign |
| Observers |
| basic_regex::mark_count |
| basic_regex::flags |
| Locale |
| basic_regex::getloc |
| basic_regex::imbue |
| Modifiers |
| basic_regex::swap |
| Constants |
| Non-member Functions |
| swap(std::basic_regex) |
| Deduction guides(C++17) |
| flag_type flags() const; | | (since C++11) | | ------------------------- | | ------------- |
Returns the regular expression syntax flags as set in the constructor or the last call to assign().
Contents
[edit] Parameters
(none)
[edit] Return value
Current regular expression syntax flags.
[edit] Exceptions
May throw implementation-defined exceptions.
[edit] Example
| This section is incompleteReason: no example |
|---|