|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
Byte-class alphabet over a Pike program: bytes that satisfy exactly the same byte/klass predicates share a class, so the DFA transitions over classes instead of 256 raw bytes. The same reduction real::dfa uses, computed here from the Pike program's own ops.
More...
#include <lazy_dfa.hpp>
Public Attributes | |
| std::array< std::uint8_t, 256 > | of {} |
| byte -> class index. | |
| std::uint16_t | count {0} |
| number of distinct classes. | |
Byte-class alphabet over a Pike program: bytes that satisfy exactly the same byte/klass predicates share a class, so the DFA transitions over classes instead of 256 raw bytes. The same reduction real::dfa uses, computed here from the Pike program's own ops.