|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
The name-resolution context a result owns when it must outlive the regex it came from. More...
#include <storage.hpp>
Public Attributes | |
| std::string | pattern |
| Owned copy of the pattern text. | |
| std::vector< named_group > | names |
| Owned copy of the named-group table. | |
The name-resolution context a result owns when it must outlive the regex it came from.
A result resolves a name against the pattern text and named-group table it borrows from its regex; one produced from an rvalue regex owns copies here instead, the borrow reading freed memory.