REAL
Regular Expression Algorithmic Library — constexpr C++20 regex
Loading...
Searching...
No Matches
real::compat::re2 Namespace Reference

Drop-in replacement for RE2's API surface, on REAL's engine. More...

Classes

class  Arg
 A type-erased destination for one captured submatch, built implicitly from a pointer to std::string, std::string_view, bool or an arithmetic type, or from nullptr to skip the group. A submatch that does not convert fails the whole match call. More...
 
struct  LazyRE2
 RE2's LazyRE2: a pattern compiled on first use, once, thread-safely – static LazyRE2 re = {"a+"}; then RE2::FullMatch(text, *re). An aggregate, as RE2's, so the members are public; only pattern_ and options_ are meant to be set, by that brace initialisation. More...
 
class  RE2
 RE2-compatible drop-in for RE2. Backed by real::regex — linear-time, ReDoS-safe. More...
 

Detailed Description

Drop-in replacement for RE2's API surface, on REAL's engine.