Ruby
2.5.0dev(2017-10-22revision60238)
|
Go to the source code of this file.
Data Structures | |
struct | rmatch_offset |
struct | rmatch |
struct | RMatch |
Macros | |
#define | RMATCH(obj) (R_CAST(RMatch)(obj)) |
#define | RMATCH_REGS(obj) (&(R_CAST(RMatch)(obj))->rmatch->regs) |
Typedefs | |
typedef typedefRUBY_SYMBOL_EXPORT_BEGIN struct re_pattern_buffer | Regexp |
Functions | |
VALUE | rb_reg_regcomp (VALUE) |
long | rb_reg_search (VALUE, VALUE, long, int) |
VALUE | rb_reg_regsub (VALUE, VALUE, struct re_registers *, VALUE) |
long | rb_reg_adjust_startpos (VALUE, VALUE, long, int) |
void | rb_match_busy (VALUE) |
VALUE | rb_reg_quote (VALUE) |
regex_t * | rb_reg_prepare_re (VALUE re, VALUE str) |
int | rb_reg_region_copy (struct re_registers *, const struct re_registers *) |
typedef typedefRUBY_SYMBOL_EXPORT_BEGIN struct re_pattern_buffer Regexp |
Definition at line 1450 of file re.c.
References err, and rb_reg_prepare_re0().
Definition at line 3425 of file re.c.
References mbclen, OBJ_INFECT, rb_enc_ascget(), rb_enc_associate(), rb_enc_copy(), rb_enc_get(), rb_enc_mbcput, rb_enc_str_asciionly_p(), rb_str_new(), rb_str_new3, rb_str_resize(), rb_usascii_encoding(), RSTRING_LEN, and RSTRING_PTR.
int rb_reg_region_copy | ( | struct re_registers * | , |
const struct re_registers * | |||
) |
Definition at line 904 of file re.c.
References re_registers::allocated, onig_region_copy(), ONIGERR_MEMORY, and rb_gc().
VALUE rb_reg_regsub | ( | VALUE | , |
VALUE | , | ||
struct re_registers * | , | ||
VALUE | |||
) |
Definition at line 3739 of file re.c.
References ASCGET, mbclen, name, NAME_TO_NUMBER, NIL_P, onig_noname_group_capture_is_active(), rb_enc_asciicompat, rb_enc_get(), rb_enc_str_buf_cat(), rb_str_buf_new(), rb_str_subseq(), RREGEXP_PTR, RSTRING_LEN, RSTRING_PTR, and val.