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

A munch, and whether text after the subject could change it (dfa::munch). More...

#include <dfa.hpp>

Public Attributes

std::optional< dfa_match > match
 
bool more_text_may_change
 

Detailed Description

A munch, and whether text after the subject could change it (dfa::munch).

Member Data Documentation

◆ match

std::optional<dfa_match> real::dfa_munch::match

The winning rule and length, as dfa::match answers.

◆ more_text_may_change

bool real::dfa_munch::more_text_may_change

False once the walk died within the subject, or the memo stopped it on a stretch walked to a death: no text appended after the subject can change match. True when the walk was still alive at the subject's end, or the memo stopped it on a stretch proven dead for this subject only.


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