Ruby 3.2.1p31 (2023-02-08 revision 31819e82c88c6f8ecfaeb162519bfa26a14b21fd)
Data Fields
rmatch Struct Reference

Represents a match. More...

#include <rmatch.h>

Data Fields

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

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 76 of file rmatch.h.


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