#include <regexp.h>
Attributes | |
| 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 } |
| 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 } |
| int | get_string_number (const char *name) const |
| Get string number. | |
| int | get_string_number (const CL_StringRef8 &name) const |
| Get string number. | |
Public Member Functions | |
Construction | |
| CL_RegExp (const char *expression, int compile_flags=0, bool study=false) | |
| Constructs a RegExp. | |
| CL_RegExp (const CL_StringRef8 &expression, int compile_flags=0, bool study=false) | |
| Constructs a RegExp. | |
| ~CL_RegExp () | |
Operations | |
| CL_RegExpMatch | search (const char *subject, int length, int start_offset=0, int search_flags=0) const |
| Match regular expression against a given subject string. | |
| CL_RegExpMatch | search (const CL_StringRef8 &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_StringRef8 &subject, int start_offset, int search_flags, CL_RegExpMatch &result) const |
|
|
|
|
|
|
|
||||||||||||||||
|
Constructs a RegExp.
|
|
||||||||||||||||
|
Constructs a RegExp.
|
|
|
|
|
|
Get string number.
|
|
|
Get string number.
|
|
||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||||||
|
Match regular expression against a given subject string.
|
1.4.6