Ruby 4.1.0dev (2026-11-18 revision e5e6cd45db456b2a4d368f2a34598641319df630)
pm_regexp_part_t Struct Reference

A literal part of a regular expression with interpolation. More...

Data Fields

pm_regexp_t regexp
 The part as a regular expression of its own.
pm_regexp_joined_t joined
 If the part interpolates an interpolated string, its parts are joined here, and the buffer holds the content of the part.

Detailed Description

A literal part of a regular expression with interpolation.

That is either the regular expression's own text, or an interpolated string whose value is known while parsing. Each part is checked as a regular expression of its own.

Definition at line 3639 of file regexp.c.

Field Documentation

◆ joined

pm_regexp_joined_t pm_regexp_part_t::joined

If the part interpolates an interpolated string, its parts are joined here, and the buffer holds the content of the part.

Definition at line 3647 of file regexp.c.

◆ regexp

pm_regexp_t pm_regexp_part_t::regexp

The part as a regular expression of its own.

Definition at line 3641 of file regexp.c.


The documentation for this struct was generated from the following file: