#include <regexp.h>
Public Types | |
| enum | CompileFlags { compile_anchored = 1, compile_auto_callout = 2, compile_caseless = 4, compile_dollar_endonly = 8, compile_dot_all = 16, compile_extended = 32, compile_extra = 64, compile_multi_line = 128, compile_no_auto_capture = 256, compile_ungreedy = 512, compile_utf8 = 1024, compile_no_utf8_check = 2048 } |
| Attributes:. More... | |
| enum | SearchFlags { search_anchored = 1, search_not_bol = 2, search_not_eol = 4, search_not_empty = 8, search_no_utf8_check = 16, search_partial = 32 } |
Public Member Functions | |
| CL_RegExp (const char *expression, int compile_flags=0, bool study=false) | |
| Construction:. | |
| CL_RegExp (const CL_StringA &expression, int compile_flags=0, bool study=false) | |
| ~CL_RegExp () | |
| int | get_string_number (const char *name) const |
| int | get_string_number (const CL_StringA &name) const |
| CL_RegExpMatch | search (const char *subject, int length, int start_offset=0, int search_flags=0) const |
| Operations:. | |
| CL_RegExpMatch | search (const CL_StringA &subject, int start_offset=0, int search_flags=0) const |
| void | search (const char *subject, int length, int start_offset, int search_flags, CL_RegExpMatch &result) const |
| void | search (const CL_StringA &subject, int length, int start_offset, int search_flags, CL_RegExpMatch &result) const |
Private Member Functions | |
| void | compile (const char *expression, int compile_flags, bool study) |
| Implementation:. | |
Private Attributes | |
| pcre * | code |
| pcre_extra * | extra |
|
|
Attributes:.
|
|
|
|
|
||||||||||||||||
|
Construction:.
Definition at line 37 of file regexp.cpp. References compile(). |
|
||||||||||||||||
|
Definition at line 43 of file regexp.cpp. References compile(). |
|
|
Definition at line 49 of file regexp.cpp. |
|
||||||||||||||||
|
Implementation:.
Definition at line 191 of file regexp.cpp. References code, compile_anchored, compile_auto_callout, compile_caseless, compile_dollar_endonly, compile_dot_all, compile_extended, compile_extra, compile_multi_line, compile_no_auto_capture, compile_no_utf8_check, compile_ungreedy, compile_utf8, extra, CL_StringFormat::get_result(), and CL_StringFormat::set_arg(). Referenced by CL_RegExp(). |
|
|
Definition at line 65 of file regexp.cpp. References get_string_number(). |
|
|
Definition at line 60 of file regexp.cpp. References code. Referenced by get_string_number(). |
|
||||||||||||||||||||||||
|
Definition at line 178 of file regexp.cpp. References search(). |
|
||||||||||||||||||||||||
|
Definition at line 94 of file regexp.cpp. References code, extra, search_anchored, search_no_utf8_check, search_not_bol, search_not_empty, search_not_eol, search_partial, CL_RegExpMatch::set_captures_count(), CL_RegExpMatch::set_partial_match(), CL_RegExpMatch::set_vector_size(), and TEXT. |
|
||||||||||||||||
|
Definition at line 84 of file regexp.cpp. References search(). |
|
||||||||||||||||||||
|
|
Definition at line 109 of file regexp.h. Referenced by compile(), get_string_number(), search(), and ~CL_RegExp(). |
|
|
Definition at line 111 of file regexp.h. Referenced by compile(), search(), and ~CL_RegExp(). |
1.4.1