|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
The shape_lead counterpart: optional trail \b/\B at from, then exactly save 1, match at the very end of code. from (the body's own end) is the caller's to supply – only its shape-specific body walk knows where that is.
More...
#include <prefilter.hpp>
Public Attributes | |
| std::uint8_t | wb_trail {} |
| std::uint8_t | end_anchor {} |
A trailing end anchor was peeled — 0 none, 1 \Z (strict end), 2 $ (end, or just before ONE final newline – Python semantics, and the reason ^X$ is NOT fullmatch(X)). | |
| bool | ok {} |
false: not exactly save 1, match at the end after peeling. | |
The shape_lead counterpart: optional trail \b/\B at from, then exactly save 1, match at the very end of code. from (the body's own end) is the caller's to supply – only its shape-specific body walk knows where that is.
| std::uint8_t real::detail::shape_close::end_anchor {} |
A trailing end anchor was peeled — 0 none, 1 \Z (strict end), 2 $ (end, or just before ONE final newline – Python semantics, and the reason ^X$ is NOT fullmatch(X)).
Same contract as the lead anchor above — reported, not rejected, and every recognizer that does not itself honour it MUST refuse the shape.
| std::uint8_t real::detail::shape_close::wb_trail {} |
0/1/2, see wb_hint_of.