|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
Compatibility constants mirroring std::regex_constants (own values, mapped internally).
More...
Typedefs | |
| using | error_type = std::regex_constants::error_type |
Error categories. Aliased to std's so regex_error::code() is a true drop-in. | |
Enumerations | |
| enum | syntax_option_type : unsigned { ECMAScript = 0 , icase = 1U << 0U , nosubs = 1U << 1U , optimize = 1U << 2U , collate = 1U << 3U , multiline = 1U << 4U , basic = 1U << 5U , extended = 1U << 6U , awk = 1U << 7U , grep = 1U << 8U , egrep = 1U << 9U } |
| Grammar / option flags (own bit values; mapped to real::flags or std at construction). More... | |
| enum | match_flag_type : unsigned { match_default = 0 , match_not_bol = 1U << 0U , match_not_eol = 1U << 1U , match_not_bow = 1U << 2U , match_not_eow = 1U << 3U , match_any = 1U << 4U , match_not_null = 1U << 5U , match_continuous = 1U << 6U , match_prev_avail = 1U << 7U , format_default = 0 , format_sed = 1U << 8U , format_no_copy = 1U << 9U , format_first_only = 1U << 10U } |
| Match-control flags: the common subset. More... | |
Functions | |
| constexpr syntax_option_type | operator| (syntax_option_type a, syntax_option_type b) noexcept |
| constexpr syntax_option_type | operator& (syntax_option_type a, syntax_option_type b) noexcept |
| constexpr match_flag_type | operator| (match_flag_type a, match_flag_type b) noexcept |
| constexpr match_flag_type | operator& (match_flag_type a, match_flag_type b) noexcept |
| constexpr match_flag_type | operator~ (match_flag_type a) noexcept |
Compatibility constants mirroring std::regex_constants (own values, mapped internally).
| using real::compat::regex_constants::error_type = typedef std::regex_constants::error_type |
Error categories. Aliased to std's so regex_error::code() is a true drop-in.
Definition at line 99 of file regex_core.hpp.
| enum real::compat::regex_constants::match_flag_type : unsigned |
Match-control flags: the common subset.
Definition at line 64 of file regex_core.hpp.
| enum real::compat::regex_constants::syntax_option_type : unsigned |
Grammar / option flags (own bit values; mapped to real::flags or std at construction).
Definition at line 36 of file regex_core.hpp.
|
constexprnoexcept |
Definition at line 87 of file regex_core.hpp.
|
constexprnoexcept |
Definition at line 57 of file regex_core.hpp.
|
constexprnoexcept |
Definition at line 81 of file regex_core.hpp.
|
constexprnoexcept |
Definition at line 51 of file regex_core.hpp.
|
constexprnoexcept |
Definition at line 93 of file regex_core.hpp.