solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
Loading...
Searching...
No Matches
Public Attributes | List of all members
regex_match_t Struct Reference

#include <regex.h>

Collaboration diagram for regex_match_t:
[legend]

Public Attributes

regex_span_t group [REGEX_MAX_GROUPS]
 
uint32_t count
 

Detailed Description

The result of a single match operation.

group[0] is always the whole match span. group[1..count-1] are capturing groups in left-to-right order. A group that did not participate in the match has start == end == PCRE2_UNSET.

Definition at line 113 of file regex.h.

Member Data Documentation

◆ count

uint32_t regex_match_t::count

Number of groups (incl. g0).

Definition at line 115 of file regex.h.

◆ group

regex_span_t regex_match_t::group[REGEX_MAX_GROUPS]

Per-group spans.

Definition at line 114 of file regex.h.

Referenced by regex_iter_next().


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