|
Ruby 3.3.5p100 (2024-09-03 revision ef084cc8f4958c1b6e4ead99136631bef6d8ddba)
|
Represents the region of a capture group. More...
#include <rmatch.h>
Data Fields | |
| long | beg |
| Beginning of a group. | |
| long | end |
| End of a group. | |
Represents the region of a capture group.
This is basically for caching purpose. re_registers have similar concepts (beg and end) but they are in ptrdiff_t*. In order for us to implement MatchData#offset that info has to be converted to offset integers. This is the struct to hold such things.