|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
Owning, heap-allocated program: the storage backing real::regex.
More...
Public Member Functions | |
| constexpr program_view | view () const |
| Returns a non-owning program_view over this program. | |
Public Attributes | |
| std::vector< instr > | code |
| The instruction stream (main program + lookaround sub-program regions). | |
| std::vector< char_class > | classes |
| Interned character classes. | |
| std::vector< named_group > | names |
| Named capture groups. | |
| std::vector< lookaround_sub > | lookarounds |
| Bounded lookaround sub-programs (regions of code). | |
| std::vector< cp_class > | cp_classes |
Match-time code-point classes (for klass_cp). | |
| std::vector< code_range > | cp_ranges |
Flat range buffer the cp_class slices index into. | |
| std::vector< instr > | prefix_code |
| IL: the inner-literal prefix sub-program (the part before the literal), for the reverse start-finder. Empty unless there is a required literal with a top-level prefix. Dynamic-only (not built during constant evaluation). | |
| std::vector< char_class > | prefix_classes |
| IL: classes for prefix_code. | |
| std::vector< cp_class > | prefix_cp_classes |
| IL: code-point classes (klass_cp) for prefix_code. | |
| std::vector< code_range > | prefix_cp_ranges |
| IL: flat range buffer for prefix_cp_classes. | |
| std::uint16_t | slot_count {2} |
2 * (capture groups + 1). | |
| bool | byte_mode {} |
| flags::bytes mode. | |
| bool | unicode_word {} |
\b \B \< \> use Unicode word-ness (text mode). | |
| pattern_hints | hints |
| Search-acceleration hints. | |
| std::int32_t | codepoint_mark_ascii {-1} |
| ASCII sub-class index of an emitted codepoint-class block (-1 = none). | |
| std::int32_t | codepoint_mark_offset {-1} |
| Where that block starts (program offset); the whole-pattern hint requires offset 1. | |
Owning, heap-allocated program: the storage backing real::regex.
Definition at line 367 of file program.hpp.
|
inlineconstexpr |
Returns a non-owning program_view over this program.
Definition at line 392 of file program.hpp.
| bool real::detail::dynamic_program::byte_mode {} |
flags::bytes mode.
Definition at line 380 of file program.hpp.
| std::vector<char_class> real::detail::dynamic_program::classes |
Interned character classes.
Definition at line 370 of file program.hpp.
| std::vector<instr> real::detail::dynamic_program::code |
The instruction stream (main program + lookaround sub-program regions).
Definition at line 369 of file program.hpp.
| std::int32_t real::detail::dynamic_program::codepoint_mark_ascii {-1} |
ASCII sub-class index of an emitted codepoint-class block (-1 = none).
Definition at line 386 of file program.hpp.
| std::int32_t real::detail::dynamic_program::codepoint_mark_offset {-1} |
Where that block starts (program offset); the whole-pattern hint requires offset 1.
Definition at line 387 of file program.hpp.
| std::vector<cp_class> real::detail::dynamic_program::cp_classes |
Match-time code-point classes (for klass_cp).
Definition at line 373 of file program.hpp.
| std::vector<code_range> real::detail::dynamic_program::cp_ranges |
Flat range buffer the cp_class slices index into.
Definition at line 374 of file program.hpp.
| pattern_hints real::detail::dynamic_program::hints |
Search-acceleration hints.
Definition at line 382 of file program.hpp.
| std::vector<lookaround_sub> real::detail::dynamic_program::lookarounds |
Bounded lookaround sub-programs (regions of code).
Definition at line 372 of file program.hpp.
| std::vector<named_group> real::detail::dynamic_program::names |
Named capture groups.
Definition at line 371 of file program.hpp.
| std::vector<char_class> real::detail::dynamic_program::prefix_classes |
IL: classes for prefix_code.
Definition at line 376 of file program.hpp.
| std::vector<instr> real::detail::dynamic_program::prefix_code |
IL: the inner-literal prefix sub-program (the part before the literal), for the reverse start-finder. Empty unless there is a required literal with a top-level prefix. Dynamic-only (not built during constant evaluation).
Definition at line 375 of file program.hpp.
| std::vector<cp_class> real::detail::dynamic_program::prefix_cp_classes |
IL: code-point classes (klass_cp) for prefix_code.
Definition at line 377 of file program.hpp.
| std::vector<code_range> real::detail::dynamic_program::prefix_cp_ranges |
IL: flat range buffer for prefix_cp_classes.
Definition at line 378 of file program.hpp.
| std::uint16_t real::detail::dynamic_program::slot_count {2} |
2 * (capture groups + 1).
Definition at line 379 of file program.hpp.
| bool real::detail::dynamic_program::unicode_word {} |
\b \B \< \> use Unicode word-ness (text mode).
Definition at line 381 of file program.hpp.