|
Ruby 4.1.0dev (2026-03-16 revision 2fc3013e7a06cb667a0aa31df9e6f6e0f89de4be)
|
Accumulation state for named capture groups found during regexp parsing. More...
#include <regexp.h>
Data Fields | |
| pm_call_node_t * | call |
| The call node wrapping the regular expression node (for =~). | |
| pm_match_write_node_t * | match |
| The match write node being built, or NULL if no captures found yet. | |
| pm_constant_id_list_t | names |
| The list of capture names found so far (for deduplication). | |
Accumulation state for named capture groups found during regexp parsing.
The caller initializes this with the call node and passes it to pm_regexp_parse. The regexp parser populates match and names as groups are found.
| pm_call_node_t* pm_regexp_name_data_t::call |
| pm_match_write_node_t* pm_regexp_name_data_t::match |
| pm_constant_id_list_t pm_regexp_name_data_t::names |