#include <pcrecpp.h>
Public Member Functions | |
RE_Options () | |
RE_Options (int option_flags) | |
int | match_limit () const |
RE_Options & | set_match_limit (int limit) |
int | match_limit_recursion () const |
RE_Options & | set_match_limit_recursion (int limit) |
bool | caseless () const |
RE_Options & | set_caseless (bool x) |
bool | multiline () const |
RE_Options & | set_multiline (bool x) |
bool | dotall () const |
RE_Options & | set_dotall (bool x) |
bool | extended () const |
RE_Options & | set_extended (bool x) |
bool | dollar_endonly () const |
RE_Options & | set_dollar_endonly (bool x) |
bool | extra () const |
RE_Options & | set_extra (bool x) |
bool | ungreedy () const |
RE_Options & | set_ungreedy (bool x) |
bool | utf8 () const |
RE_Options & | set_utf8 (bool x) |
bool | no_auto_capture () const |
RE_Options & | set_no_auto_capture (bool x) |
RE_Options & | set_all_options (int opt) |
int | all_options () const |
Private Attributes | |
int | match_limit_ |
int | match_limit_recursion_ |
int | all_options_ |
Definition at line 355 of file pcrecpp.h.
pcrecpp::RE_Options::RE_Options | ( | int | option_flags | ) | [inline] |
int pcrecpp::RE_Options::match_limit | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_match_limit | ( | int | limit | ) | [inline] |
int pcrecpp::RE_Options::match_limit_recursion | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_match_limit_recursion | ( | int | limit | ) | [inline] |
bool pcrecpp::RE_Options::caseless | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_caseless | ( | bool | x | ) | [inline] |
Definition at line 388 of file pcrecpp.h.
References PCRE_CASELESS, and PCRE_SET_OR_CLEAR.
Referenced by pcrecpp::CASELESS(), and Test_CASELESS().
bool pcrecpp::RE_Options::multiline | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_multiline | ( | bool | x | ) | [inline] |
Definition at line 395 of file pcrecpp.h.
References PCRE_MULTILINE, and PCRE_SET_OR_CLEAR.
Referenced by pcrecpp::MULTILINE(), and Test_MULTILINE().
bool pcrecpp::RE_Options::dotall | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_dotall | ( | bool | x | ) | [inline] |
Definition at line 402 of file pcrecpp.h.
References PCRE_DOTALL, and PCRE_SET_OR_CLEAR.
Referenced by pcrecpp::DOTALL(), Test_DOTALL(), and TestConstructors().
bool pcrecpp::RE_Options::extended | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_extended | ( | bool | x | ) | [inline] |
Definition at line 409 of file pcrecpp.h.
References PCRE_EXTENDED, and PCRE_SET_OR_CLEAR.
Referenced by pcrecpp::EXTENDED(), and Test_EXTENDED().
bool pcrecpp::RE_Options::dollar_endonly | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_dollar_endonly | ( | bool | x | ) | [inline] |
Definition at line 416 of file pcrecpp.h.
References PCRE_DOLLAR_ENDONLY, and PCRE_SET_OR_CLEAR.
Referenced by Test_DOLLAR_ENDONLY().
bool pcrecpp::RE_Options::extra | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_extra | ( | bool | x | ) | [inline] |
Definition at line 423 of file pcrecpp.h.
References PCRE_EXTRA, and PCRE_SET_OR_CLEAR.
Referenced by Test_EXTRA().
bool pcrecpp::RE_Options::ungreedy | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_ungreedy | ( | bool | x | ) | [inline] |
Definition at line 430 of file pcrecpp.h.
References PCRE_SET_OR_CLEAR, and PCRE_UNGREEDY.
Referenced by Test_UNGREEDY().
bool pcrecpp::RE_Options::utf8 | ( | ) | const [inline] |
Definition at line 434 of file pcrecpp.h.
References PCRE_IS_SET, and PCRE_UTF8.
Referenced by pcrecpp::RE::GlobalReplace().
RE_Options& pcrecpp::RE_Options::set_utf8 | ( | bool | x | ) | [inline] |
Definition at line 437 of file pcrecpp.h.
References PCRE_SET_OR_CLEAR, and PCRE_UTF8.
Referenced by pcrecpp::UTF8().
bool pcrecpp::RE_Options::no_auto_capture | ( | ) | const [inline] |
RE_Options& pcrecpp::RE_Options::set_no_auto_capture | ( | bool | x | ) | [inline] |
Definition at line 444 of file pcrecpp.h.
References PCRE_NO_AUTO_CAPTURE, and PCRE_SET_OR_CLEAR.
Referenced by Test_NO_AUTO_CAPTURE().
RE_Options& pcrecpp::RE_Options::set_all_options | ( | int | opt | ) | [inline] |
int pcrecpp::RE_Options::all_options | ( | ) | const [inline] |
Definition at line 452 of file pcrecpp.h.
Referenced by pcrecpp::RE::Compile(), and pcrecpp::RE::GlobalReplace().
int pcrecpp::RE_Options::match_limit_ [private] |
int pcrecpp::RE_Options::match_limit_recursion_ [private] |
int pcrecpp::RE_Options::all_options_ [private] |