#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <string>
#include "util/util.h"
#include "util/flags.h"
#include "util/logging.h"
#include "util/strutil.h"
#include "re2/testing/tester.h"
#include "re2/prog.h"
#include "re2/re2.h"
#include "re2/regexp.h"
Go to the source code of this file.
|
| DEFINE_bool (dump_prog, false, "dump regexp program") |
|
| DEFINE_bool (dump_rprog, false, "dump reversed regexp program") |
|
| DEFINE_bool (log_okay, false, "log successful runs") |
|
| DEFINE_int32 (max_regexp_failures, 100, "maximum number of regexp test failures (-1 = unlimited)") |
|
| DEFINE_string (regexp_engines, "", "pattern to select regexp engines to test") |
|
static const char * | re2::EngineName (Engine e) |
|
static uint32_t | re2::Engines () |
|
static std::string | re2::FormatAnchor (Prog::Anchor anchor) |
|
static std::string | re2::FormatCapture (const StringPiece &text, const StringPiece &s) |
|
static std::string | re2::FormatKind (Prog::MatchKind kind) |
|
static std::string | re2::FormatMode (Regexp::ParseFlags flags) |
|
static bool | re2::NonASCII (const StringPiece &text) |
|
static bool | re2::ResultOkay (const Result &r, const Result &correct) |
|
bool | re2::TestRegexpOnText (const StringPiece ®exp, const StringPiece &text) |
|
◆ DEFINE_bool() [1/3]
DEFINE_bool |
( |
dump_prog |
, |
|
|
false |
, |
|
|
"dump regexp program" |
|
|
) |
| |
◆ DEFINE_bool() [2/3]
DEFINE_bool |
( |
dump_rprog |
, |
|
|
false |
, |
|
|
"dump reversed regexp program" |
|
|
) |
| |
◆ DEFINE_bool() [3/3]
DEFINE_bool |
( |
log_okay |
, |
|
|
false |
, |
|
|
"log successful runs" |
|
|
) |
| |
◆ DEFINE_int32()
DEFINE_int32 |
( |
max_regexp_failures |
, |
|
|
100 |
, |
|
|
"maximum number of regexp test failures (-1 = unlimited)" |
|
|
) |
| |
◆ DEFINE_string()
DEFINE_string |
( |
regexp_engines |
, |
|
|
"" |
, |
|
|
"pattern to select regexp engines to test" |
|
|
) |
| |