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

The outcome of dfa::match — which rule won, and how many bytes it spans. More...

#include <dfa.hpp>

Public Attributes

std::uint32_t rule_index
 Index of the winning pattern, in the order passed to the ctor.
 
std::size_t length
 Byte length of the (non-empty) match.
 

Detailed Description

The outcome of dfa::match — which rule won, and how many bytes it spans.

Definition at line 73 of file dfa.hpp.

Member Data Documentation

◆ length

std::size_t real::dfa_match::length

Byte length of the (non-empty) match.

Definition at line 76 of file dfa.hpp.

◆ rule_index

std::uint32_t real::dfa_match::rule_index

Index of the winning pattern, in the order passed to the ctor.

Definition at line 75 of file dfa.hpp.


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