|
Ruby
3.1.4p223 (2023-03-30 revision HEAD)
|
Regular expression execution context. More...
#include <rmatch.h>
Data Fields | |
| struct RBasic | basic |
| Basic part, including flags and class. More... | |
| VALUE | str |
| The target string that the match was made against. More... | |
| struct rmatch * | rmatch |
| The result of this match. More... | |
| VALUE | regexp |
| The expression of this match. More... | |
Regular expression execution context.
When a regular expression "matches" to a string, it generates capture groups etc. This struct holds that info. Visible from Ruby as an instance of MatchData.
| struct RBasic RMatch::basic |
| VALUE RMatch::str |