|
Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)
|
Regular expression execution context. More...
#include <rmatch.h>
Data Fields | |
| struct RBasic | basic |
| Basic part, including flags and class. | |
| VALUE | str |
| The target string that the match was made against. | |
| struct rmatch * | rmatch |
| The result of this match. | |
| VALUE | regexp |
| The expression of this match. | |
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 |