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

One unbounded lookahead's answer at every position of one subject: bit i is set when the sub-pattern matches a prefix of the text from i. More...

#include <pike.hpp>

Public Attributes

const char * text {nullptr}
 The subject answered for (data pointer).
 
std::size_t size {npos}
 Its length; npos before the first pass.
 
std::vector< std::uint64_t > holds
 Bit i: the lookahead's sub-pattern matches from i.
 

Detailed Description

One unbounded lookahead's answer at every position of one subject: bit i is set when the sub-pattern matches a prefix of the text from i.

Filled by one backward pass over the subject (pike_vm::unbounded_lookahead_matches), the first time the lookahead is asked about in a search, and read thereafter.


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