|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
The shape_lead counterpart: optional trail \b/\B, optional \Z/$, then exactly save 1, match ending the program.
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, 2 $ (end, or before ONE final newline, which is why ^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, optional \Z/$, then exactly save 1, match ending the program.
| std::uint8_t real::detail::shape_close::end_anchor {} |
A trailing end anchor was peeled: 0 none, 1 \Z, 2 $ (end, or before ONE final newline, which is why ^X$ is not fullmatch(X)).
A recognizer that does not honour it MUST refuse the shape.
| std::uint8_t real::detail::shape_close::wb_trail {} |
0/1/2, see wb_hint_of.