#include <sys/types.h>
#include <stdio.h>
#include "regex.h"
Go to the source code of this file.
Data Structures | |
| struct | RMatch |
Defines | |
| #define | RMATCH(obj) (R_CAST(RMatch)(obj)) |
| #define | mbclen2(c, re) rb_reg_mbclen2((c),(re)) |
Typedefs | |
| typedef re_pattern_buffer | Regexp |
Functions | |
| VALUE | rb_reg_regcomp (VALUE) |
| long | rb_reg_search (VALUE, VALUE, long, long) |
| VALUE | rb_reg_regsub (VALUE, VALUE, struct re_registers *) |
| long | rb_reg_adjust_startpos (VALUE, VALUE, long, long) |
| void | rb_match_busy (VALUE) |
| VALUE | rb_reg_quote (VALUE) |
| int | rb_reg_mbclen2 (unsigned int, VALUE) |
Variables | |
| RUBY_EXTERN int | ruby_ignorecase |
|
|
Definition at line 41 of file re.h. Referenced by rb_str_split_m(), scan_once(), and str_gsub(). |
|
|
Definition at line 29 of file re.h. Referenced by match_array(), match_begin(), match_end(), match_init_copy(), match_offset(), match_select(), match_size(), match_string(), match_to_s(), match_values_at(), rb_reg_match_last(), rb_reg_match_post(), rb_reg_match_pre(), rb_reg_nth_defined(), rb_reg_nth_match(), rb_reg_search(), rb_str_split_m(), rb_str_sub_bang(), rb_str_subpat_set(), scan_once(), and str_gsub(). |
|
|
Definition at line 21 of file re.h. Referenced by make_regexp(), and rb_reg_to_s(). |
|
|
Definition at line 809 of file re.c. References FL_SET, MATCH_BUSY, and VALUE. Referenced by match_getter(), rb_reg_match_m(), rb_str_scan(), rb_str_sub_bang(), and str_gsub(). |
|
||||||||||||||||||||
|
Definition at line 861 of file re.c. References curr_kcode, FL_TEST, KCODE_FIXED, kcode_reset_option(), kcode_set_option(), may_need_recompile, rb_reg_check(), rb_reg_prepare_re(), re_adjust_startpos(), reg_kcode, RREGEXP, RSTRING, and VALUE. Referenced by rb_str_index_m(), and rb_str_rindex_m(). |
|
||||||||||||
|
Definition at line 246 of file re.c. References FL_TEST, KCODE_FIXED, kcode_reset_option(), kcode_set_option(), mbclen, and VALUE. |
|
|
Definition at line 1721 of file re.c. References ismbchar, mbclen, OBJ_INFECT, rb_str_new(), rb_str_resize(), RSTRING, and VALUE. Referenced by get_pat(), rb_reg_s_quote(), and rb_str_split_m(). |
|
|
Definition at line 1408 of file re.c. References case_cache, kcode_cache, rb_reg_new(), reg_cache, reg_kcode, RREGEXP, RSTRING, ruby_ignorecase, and VALUE. Referenced by get_pat(), and rb_str_split_m(). |
|
||||||||||||||||
|
Definition at line 1997 of file re.c. References BEG, END, ismbchar, mbclen, rb_str_buf_cat(), rb_str_buf_new(), RSTRING, and VALUE. Referenced by rb_str_sub_bang(), and str_gsub(). |
|
||||||||||||||||||||
|
Definition at line 887 of file re.c. References curr_kcode, FL_TAINT, FL_TEST, FL_UNSET, KCODE_FIXED, kcode_reset_option(), kcode_set_option(), match_alloc(), MATCH_BUSY, may_need_recompile, NIL_P, OBJ_INFECT, OBJ_TAINT, Qnil, rb_backref_get(), rb_backref_set(), rb_cMatch, rb_reg_check(), rb_reg_prepare_re(), rb_reg_raise(), rb_safe_level, rb_str_new4(), re_copy_registers(), re_search(), reg_kcode, RMATCH, RREGEXP, RSTRING, and VALUE. Referenced by rb_reg_eqq(), rb_reg_match(), rb_reg_match2(), rb_str_index_m(), rb_str_rindex_m(), rb_str_split_m(), rb_str_sub_bang(), rb_str_subpat(), rb_str_subpat_set(), scan_once(), and str_gsub(). |
|
|
|
1.3.5