Ruby  3.4.0dev (2024-12-06 revision 892c46283a5ea4179500d951c9d4866c0051f27b)
Data Fields
rb_matchext_struct 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* rb_matchext_struct::char_offset

Capture group offsets, in C array.

Definition at line 79 of file rmatch.h.

◆ char_offset_num_allocated

int rb_matchext_struct::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 rb_matchext_struct::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: