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

One variant of a pattern for match_not_eol / match_not_eow: REAL's compiled rewrite, or the original's own engine when the rewrite changed nothing, or neither when REAL does not compile the rewrite (a $ or \b inside a lookaround would nest one). More...

#include <regex_core.hpp>

Public Attributes

std::optional< real::regex > engine
 The rewritten pattern, compiled.
 
bool unchanged {false}
 Nothing to rewrite: the original engine serves.
 

Detailed Description

One variant of a pattern for match_not_eol / match_not_eow: REAL's compiled rewrite, or the original's own engine when the rewrite changed nothing, or neither when REAL does not compile the rewrite (a $ or \b inside a lookaround would nest one).


The documentation for this struct was generated from the following file: