libsnobol4 1.0.2
High-performance SNOBOL4-style pattern matching library
Loading...
Searching...
No Matches
snobol_search_result_t Struct Reference

#include <search.h>

Public Attributes

bool success
bool aborted
bool pike_overflowed
bool pike_zero_progress
bool prefilter_skip
size_t match_start
size_t match_end

Detailed Description

Definition at line 427 of file search.h.

Member Data Documentation

◆ aborted

bool snobol_search_result_t::aborted

Set true when an OP_ABORT terminated the match, signalling the caller to stop searching entirely.

Definition at line 429 of file search.h.

◆ match_end

size_t snobol_search_result_t::match_end

Byte offset just past the match end in the original subject

Definition at line 442 of file search.h.

◆ match_start

size_t snobol_search_result_t::match_start

Byte offset of match start within the original subject

Definition at line 440 of file search.h.

◆ pike_overflowed

bool snobol_search_result_t::pike_overflowed

Set true when pike_scan's thread buffer overflowed and the restart-loop fallback was used.

Definition at line 431 of file search.h.

◆ pike_zero_progress

bool snobol_search_result_t::pike_zero_progress

Set true when pike_scan exited a repetition via the zero-progress guard: pike's greedy match position is then unreliable (the min==0 skip path can match empty earlier), so the caller must fall back to the restart loop.

Definition at line 433 of file search.h.

◆ prefilter_skip

bool snobol_search_result_t::prefilter_skip

Set true when the required-byte prefilter rejected the subject without entering any tier.

Definition at line 438 of file search.h.

◆ success

bool snobol_search_result_t::success

Definition at line 428 of file search.h.


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