#include <stddef.h>
Go to the source code of this file.
Data Structures | |
| struct | re_pattern_buffer |
| struct | re_registers |
| union | register_info_type |
| struct | regmatch_t |
Defines | |
| #define | RE_NREGS 10 |
| #define | BYTEWIDTH 8 |
| #define | RE_REG_MAX ((1<<BYTEWIDTH)-1) |
| #define | RE_DUP_MAX ((1 << 15) - 1) |
| #define | RE_CHAR_CLASSES (1L << 9) |
| #define | RE_OPTION_IGNORECASE (1L) |
| #define | RE_OPTION_EXTENDED (RE_OPTION_IGNORECASE<<1) |
| #define | RE_OPTION_MULTILINE (RE_OPTION_EXTENDED<<1) |
| #define | RE_OPTION_SINGLELINE (RE_OPTION_MULTILINE<<1) |
| #define | RE_OPTION_LONGEST (RE_OPTION_SINGLELINE<<1) |
| #define | RE_MAY_IGNORECASE (RE_OPTION_LONGEST<<1) |
| #define | RE_OPTIMIZE_ANCHOR (RE_MAY_IGNORECASE<<1) |
| #define | RE_OPTIMIZE_EXACTN (RE_OPTIMIZE_ANCHOR<<1) |
| #define | RE_OPTIMIZE_NO_BM (RE_OPTIMIZE_EXACTN<<1) |
| #define | RE_OPTIMIZE_BMATCH (RE_OPTIMIZE_NO_BM<<1) |
| #define | MBCTYPE_ASCII 0 |
| #define | MBCTYPE_EUC 1 |
| #define | MBCTYPE_SJIS 2 |
| #define | MBCTYPE_UTF8 3 |
| #define | ismbchar(c) re_mbctab[(unsigned char)(c)] |
| #define | mbclen(c) (re_mbctab[(unsigned char)(c)]+1) |
Typedefs | |
| typedef re_pattern_buffer | regex_t |
| typedef size_t | regoff_t |
Functions | |
| void | re_mbcinit () |
| char * | re_compile_pattern () |
| void | re_free_regexp () |
| int | re_adjust_startpos () |
| void | re_compile_fastmap () |
| int | re_search () |
| int | re_match () |
| void | re_set_casetable () |
| void | re_copy_registers () |
| void | re_free_registers () |
Variables | |
| const unsigned char * | re_mbctab |
|
|
|
|
|
Definition at line 103 of file regex.h. Referenced by memcmp_translate(), rb_reg_expr_str(), rb_reg_quote(), rb_reg_regsub(), rb_str_capitalize_bang(), rb_str_downcase_bang(), rb_str_inspect(), rb_str_swapcase_bang(), rb_str_upcase_bang(), rb_symname_p(), re_compile_fastmap(), re_compile_pattern(), re_match_exec(), re_search(), slow_search(), and tokadd_string(). |
|
|
|
Definition at line 86 of file regex.h. Referenced by Init_Regexp(), kcode_reset_option(), kcode_set_option(), rb_kcode(), rb_set_kcode(), re_compile_fastmap(), and re_mbcinit(). |
|
|
Definition at line 87 of file regex.h. Referenced by Init_Regexp(), kcode_reset_option(), kcode_set_option(), rb_kcode(), rb_set_kcode(), re_compile_fastmap(), and re_mbcinit(). |
|
|
Definition at line 88 of file regex.h. Referenced by Init_Regexp(), kcode_reset_option(), kcode_set_option(), rb_kcode(), rb_set_kcode(), re_compile_fastmap(), re_compile_pattern(), and re_mbcinit(). |
|
|
Definition at line 89 of file regex.h. Referenced by Init_Regexp(), kcode_reset_option(), kcode_set_option(), print_mbc(), rb_kcode(), rb_set_kcode(), re_compile_fastmap(), and re_mbcinit(). |
|
|
|
|
|
Definition at line 58 of file regex.h. Referenced by re_compile_pattern(), and re_match_exec(). |
|
|
Definition at line 79 of file regex.h. Referenced by re_compile_fastmap(). |
|
|
Definition at line 49 of file regex.h. Referenced by init_regs(). |
|
|
Definition at line 80 of file regex.h. Referenced by re_compile_pattern(), and re_search(). |
|
|
Definition at line 83 of file regex.h. Referenced by re_adjust_startpos(), and re_compile_fastmap(). |
|
|
Definition at line 81 of file regex.h. Referenced by re_compile_pattern(), and re_search(). |
|
|
Definition at line 82 of file regex.h. Referenced by re_compile_pattern(), and re_search(). |
|
|
Definition at line 71 of file regex.h. Referenced by Init_Regexp(), rb_reg_desc(), rb_reg_options(), rb_reg_to_s(), re_compile_pattern(), and regx_options(). |
|
|
Definition at line 69 of file regex.h. Referenced by Init_Regexp(), rb_reg_casefold_p(), rb_reg_desc(), rb_reg_initialize(), rb_reg_initialize_m(), rb_reg_options(), rb_reg_prepare_re(), rb_reg_to_s(), re_compile_fastmap(), re_compile_pattern(), re_match_exec(), and regx_options(). |
|
|
Definition at line 77 of file regex.h. Referenced by re_match_exec(). |
|
|
Definition at line 73 of file regex.h. Referenced by Init_Regexp(), rb_reg_desc(), rb_reg_options(), rb_reg_to_s(), re_compile_fastmap(), re_compile_pattern(), re_match_exec(), re_search(), and regx_options(). |
|
|
Definition at line 75 of file regex.h. Referenced by re_compile_fastmap(), and re_compile_pattern(). |
|
|
Definition at line 54 of file regex.h. Referenced by re_compile_pattern(). |
|
|
|
|
|
|
|
|
Referenced by rb_reg_adjust_startpos(). |
|
|
Referenced by re_adjust_startpos(), and re_search(). |
|
|
Referenced by make_regexp(), rb_reg_prepare_re(), and rb_reg_to_s(). |
|
|
Referenced by match_init_copy(), and rb_reg_search(). |
|
|
|
|
|
Referenced by match_init_copy(), and obj_free(). |
|
|
Referenced by re_search(). |
|
|
Referenced by Init_Regexp(), kcode_reset_option(), kcode_set_option(), and rb_set_kcode(). |
|
|
Referenced by rb_reg_search(). |
|
|
Referenced by Init_Regexp(). |
|
|
Definition at line 95 of file regex.h. Referenced by re_compile_fastmap(), re_compile_pattern(), and re_mbcinit(). |
1.3.5