|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
A parsed character class: its ASCII bitmap plus any non-ASCII code-point ranges. Bundling the two (rather than parallel side tables) makes them impossible to desynchronize. More...
#include <ast.hpp>
Public Attributes | |
| char_class | ascii |
| ASCII members as a bitmap (all 256 bytes in bytes mode); pre-negation. | |
| std::vector< code_range > | ranges |
| Non-ASCII code-point ranges (code-point mode only; empty otherwise). | |
| bool | codepoint_predicate {} |
Emit as a match-time klass_cp (a Unicode shorthand \w/\d/\s in text mode), not the byte-NFA. | |
A parsed character class: its ASCII bitmap plus any non-ASCII code-point ranges. Bundling the two (rather than parallel side tables) makes them impossible to desynchronize.
| char_class real::detail::class_def::ascii |
| bool real::detail::class_def::codepoint_predicate {} |
| std::vector<code_range> real::detail::class_def::ranges |