Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Regular Expression
[Ruby]


Functions

int rb_memcmp (char *, char *, long)
int rb_memcicmp (char *, char *, long)
long rb_memsearch (char *, long, char *, long)
VALUE rb_reg_nth_defined (int, VALUE)
VALUE rb_reg_nth_match (int, VALUE)
VALUE rb_reg_last_match (VALUE)
VALUE rb_reg_match_pre (VALUE)
VALUE rb_reg_match_post (VALUE)
VALUE rb_reg_match_last (VALUE)
VALUE rb_reg_new (const char *, long, int)
VALUE rb_reg_match (VALUE, VALUE)
VALUE rb_reg_match2 (VALUE)
int rb_reg_options (VALUE)
void rb_set_kcode (const char *)
const char * rb_get_kcode (void)


Function Documentation

const char* rb_get_kcode void   ) 
 

Definition at line 2082 of file re.c.

References KCODE_EUC, KCODE_SJIS, KCODE_UTF8, and reg_kcode.

Referenced by kcode_getter().

int rb_memcicmp char *  ,
char *  ,
long 
 

Definition at line 73 of file re.c.

Referenced by rb_memcmp(), rb_memsearch(), rb_str_casecmp(), and test_identical().

int rb_memcmp char *  ,
char *  ,
long 
 

Definition at line 87 of file re.c.

References rb_memcicmp(), and ruby_ignorecase.

Referenced by rb_str_chomp_bang(), rb_str_cmp(), rb_str_each_line(), and rb_str_rindex().

long rb_memsearch char *  ,
long  ,
char *  ,
long 
 

Definition at line 98 of file re.c.

References CHAR_BIT, KR_REHASH, rb_memcicmp(), and ruby_ignorecase.

Referenced by rb_str_index().

VALUE rb_reg_last_match VALUE   ) 
 

Definition at line 994 of file re.c.

References rb_reg_nth_match(), and VALUE.

Referenced by last_match_getter(), match_to_s(), and rb_eval().

VALUE rb_reg_match VALUE  ,
VALUE 
 

Definition at line 1504 of file re.c.

References LONG2FIX, NIL_P, Qnil, rb_backref_set(), rb_reg_search(), StringValue, and VALUE.

Referenced by Init_Regexp(), rb_eval(), rb_reg_match_m(), and rb_str_match().

VALUE rb_reg_match2 VALUE   ) 
 

Definition at line 1574 of file re.c.

References LONG2FIX, Qnil, rb_backref_set(), rb_lastline_get(), rb_reg_search(), T_STRING, TYPE, and VALUE.

Referenced by Init_Regexp(), and rb_eval().

VALUE rb_reg_match_last VALUE   ) 
 

Definition at line 1054 of file re.c.

References NIL_P, Qnil, rb_reg_nth_match(), RMATCH, and VALUE.

Referenced by last_paren_match_getter(), and rb_eval().

VALUE rb_reg_match_post VALUE   ) 
 

Definition at line 1038 of file re.c.

References NIL_P, OBJ_TAINT, OBJ_TAINTED, Qnil, rb_str_substr(), RMATCH, RSTRING, and VALUE.

Referenced by Init_Regexp(), postmatch_getter(), and rb_eval().

VALUE rb_reg_match_pre VALUE   ) 
 

Definition at line 1013 of file re.c.

References BEG, NIL_P, OBJ_TAINT, OBJ_TAINTED, Qnil, rb_str_substr(), RMATCH, and VALUE.

Referenced by Init_Regexp(), prematch_getter(), and rb_eval().

VALUE rb_reg_new const char *  ,
long  ,
int 
 

VALUE rb_reg_nth_defined int  ,
VALUE 
 

Definition at line 952 of file re.c.

References NIL_P, Qfalse, Qnil, Qtrue, RMATCH, and VALUE.

Referenced by is_defined().

VALUE rb_reg_nth_match int  ,
VALUE 
 

Definition at line 969 of file re.c.

References end, NIL_P, OBJ_INFECT, Qnil, rb_str_substr(), RMATCH, and VALUE.

Referenced by match_aref(), match_entry(), rb_eval(), rb_reg_last_match(), rb_reg_match_last(), rb_reg_s_last_match(), rb_str_sub_bang(), rb_str_subpat(), scan_once(), and str_gsub().

int rb_reg_options VALUE   ) 
 

Definition at line 1874 of file re.c.

References FL_TEST, KCODE_FIXED, rb_reg_check(), rb_reg_get_kcode(), RE_OPTION_EXTENDED, RE_OPTION_IGNORECASE, RE_OPTION_MULTILINE, RREGEXP, and VALUE.

Referenced by rb_reg_init_copy(), rb_reg_options_m(), and w_object().

void rb_set_kcode const char *   ) 
 


Generated on Wed Jan 18 23:32:13 2006 for Ruby by doxygen 1.3.5