|
Ruby 4.1.0dev (2026-11-18 revision e5e6cd45db456b2a4d368f2a34598641319df630)
|
Defines struct RRegexp. More...
#include "ruby/internal/attr/artificial.h"#include "ruby/internal/attr/pure.h"#include "ruby/internal/cast.h"#include "ruby/internal/core/rbasic.h"#include "ruby/internal/core/rstring.h"#include "ruby/internal/value.h"#include "ruby/internal/value_type.h"

Go to the source code of this file.
Data Structures | |
| struct | RRegexp |
| Ruby's regular expression. More... | |
Macros | |
| #define | RREGEXP(obj) |
| Convenient casting macro. | |
Functions | |
| static struct re_pattern_buffer * | RREGEXP_PTR (VALUE rexp) |
| Convenient getter function. | |
| static VALUE | RREGEXP_SRC (VALUE rexp) |
| Convenient getter function. | |
| static char * | RREGEXP_SRC_PTR (VALUE rexp) |
| Convenient getter function. | |
| static rb_len_t | RREGEXP_SRC_LEN (VALUE rexp) |
| Convenient getter function. | |
| static char * | RREGEXP_SRC_END (VALUE rexp) |
| Convenient getter function. | |
Defines struct RRegexp.
Definition in file rregexp.h.
| #define RREGEXP | ( | obj | ) |
Convenient casting macro.
| obj | An object, which is in fact an RRegexp. |
Definition at line 37 of file rregexp.h.
Referenced by rb_enc_reg_new(), and RREGEXP_SRC().
|
inlinestatic |
Convenient getter function.
| [in] | rexp | The regular expression in question. |
Definition at line 77 of file rregexp.h.
Referenced by RREGEXP_PTR().
Convenient getter function.
| [in] | rexp | The regular expression in question. |
Definition at line 93 of file rregexp.h.
Referenced by RREGEXP_SRC(), RREGEXP_SRC_END(), RREGEXP_SRC_LEN(), and RREGEXP_SRC_PTR().
|
inlinestatic |
Convenient getter function.
| [in] | rexp | The regular expression in question. |
Definition at line 153 of file rregexp.h.
Referenced by RREGEXP_SRC_END().
Convenient getter function.
| [in] | rexp | The regular expression in question. |
Definition at line 134 of file rregexp.h.
Referenced by rb_reg_regcomp(), and RREGEXP_SRC_LEN().
|
inlinestatic |
Convenient getter function.
| [in] | rexp | The regular expression in question. |
Definition at line 115 of file rregexp.h.
Referenced by rb_reg_regcomp(), and RREGEXP_SRC_PTR().