|
REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
|
The public API: real::regex, real::static_regex and results.
More...
#include "real/version.hpp"#include <iterator>#include <optional>#include <span>#include <string>#include <string_view>#include <utility>#include <vector>#include "real/engine/pike.hpp"#include "real/core/program.hpp"#include "real/storage.hpp"#include "real/unicode/utf8.hpp"Go to the source code of this file.
Classes | |
| class | real::basic_match_result< SlotStorage > |
| The result of a match attempt: success, spans and captures. More... | |
| class | real::basic_match_iterator< Storage > |
| Forward iterator over the non-overlapping matches in a text. More... | |
| class | real::basic_match_range< Storage > |
A range of matches, returned by find_iter() and usable in range-for. More... | |
| class | real::basic_regex< Storage > |
| A compiled regular expression, parameterized on its storage policy. More... | |
Namespaces | |
| namespace | real |
Typedefs | |
| using | real::match_result = basic_match_result< std::vector< std::size_t > > |
The result type of the default, runtime-compiled real::regex. | |
| using | real::regex = basic_regex< detail::dynamic_storage > |
| The runtime-compiled regex type — the primary entry point. | |
| template<fixed_string Pattern, flags F = flags::none> | |
| using | real::static_regex = basic_regex< detail::static_storage< Pattern, F > > |
| A fully compile-time regex. | |
The public API: real::regex, real::static_regex and results.
Header-only, C++20, constexpr from end to end. Include this one header.
Definition in file real.hpp.