|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
A loose-match key (lowercase, no _/-/space; UAX44-LM3-ish) built into a fixed buffer, so no heap or <string> is needed at parse time. A name longer than the buffer simply fails to match.
More...
Public Member Functions | |
| constexpr std::string_view | view () const |
| The normalised key as a view into data. | |
Public Attributes | |
| std::array< char, 64 > | data {} |
| The normalised bytes, the first len of which are meaningful. | |
| std::size_t | len {} |
| Bytes held in data; a longer name is truncated and so matches nothing. | |
A loose-match key (lowercase, no _/-/space; UAX44-LM3-ish) built into a fixed buffer, so no heap or <string> is needed at parse time. A name longer than the buffer simply fails to match.
|
inlineconstexpr |
The normalised key as a view into data.