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

One AC search outcome: whether/where/which branch matched. More...

#include <aho_corasick.hpp>

Public Attributes

bool matched {}
 Whether anything matched; the other fields are meaningful only then.
 
std::size_t start {}
 Match start offset.
 
std::size_t end {}
 Match end offset.
 
std::int32_t pattern_id {}
 Declaration order of the winning branch.
 

Detailed Description

One AC search outcome: whether/where/which branch matched.


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