Ruby  3.1.4p223 (2023-03-30 revision HEAD)
Data Fields
rmatch Struct Reference

Represents a match. More...

#include <rmatch.h>

Data Fields

struct re_registers regs
 "Registers" of a match. More...
 
struct rmatch_offsetchar_offset
 Capture group offsets, in C array. More...
 
int char_offset_num_allocated
 Number of rmatch_offset that rmatch::char_offset holds. More...
 

Detailed Description

Represents a match.

Definition at line 71 of file rmatch.h.

Field Documentation

◆ char_offset

struct rmatch_offset* rmatch::char_offset

Capture group offsets, in C array.

Definition at line 79 of file rmatch.h.

◆ char_offset_num_allocated

int rmatch::char_offset_num_allocated

Number of rmatch_offset that rmatch::char_offset holds.

Definition at line 82 of file rmatch.h.

◆ regs

struct re_registers rmatch::regs

"Registers" of a match.

This is a quasi-opaque struct that holds execution result of a match. Roughly resembles &~.

Definition at line 67 of file rmatch.h.


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