|
Ruby 4.1.0dev (2026-11-19 revision 2e6b197f6849401b2c25894b5b8ac39ac3c2558e)
|
Defines struct RMatch. More...
#include "ruby/internal/attr/artificial.h"#include "ruby/internal/attr/pure.h"#include "ruby/internal/cast.h"#include "ruby/internal/core/rbasic.h"#include "ruby/internal/value.h"#include "ruby/internal/value_type.h"#include "ruby/assert.h"

Go to the source code of this file.
Data Structures | |
| struct | rmatch_offset |
| Represents the region of a capture group. More... | |
| struct | RMatch |
| Regular expression execution context. More... | |
Macros | |
| #define | RMATCH(obj) |
| Convenient casting macro. | |
Typedefs | |
| typedef struct re_pattern_buffer | Regexp |
| Old name of re_pattern_buffer. | |
Functions | |
| static struct re_registers * | RMATCH_REGS (VALUE match) |
| Queries the raw re_registers. | |
Defines struct RMatch.
Definition in file rmatch.h.
| #define RMATCH | ( | obj | ) |
Convenient casting macro.
| obj | An object, which is in fact an RMatch. |
Definition at line 37 of file rmatch.h.
Referenced by rb_reg_match_last(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_match(), and RMATCH_REGS().
|
inlinestatic |
Queries the raw re_registers.
| [in] | match | A match object |
Definition at line 150 of file rmatch.h.
Referenced by RMATCH_REGS().