#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <limits>
#include <string>
#include <utility>
#include "util/util.h"
#include "util/flags.h"
#include "util/logging.h"
#include "util/pcre.h"
#include "util/strutil.h"
Go to the source code of this file.
|
| DEFINE_int32 (regexp_match_limit, 1000000, "default PCRE match limit (function calls)") |
|
| DEFINE_int32 (regexp_stack_limit, 256<< 10, "default PCRE stack limit (bytes)") |
|
| re2::DEFINE_INTEGER_PARSER (int) |
|
| re2::DEFINE_INTEGER_PARSER (long) |
|
| re2::DEFINE_INTEGER_PARSER (longlong) |
|
| re2::DEFINE_INTEGER_PARSER (short) |
|
| re2::DEFINE_INTEGER_PARSER (uint) |
|
| re2::DEFINE_INTEGER_PARSER (ulong) |
|
| re2::DEFINE_INTEGER_PARSER (ulonglong) |
|
| re2::DEFINE_INTEGER_PARSER (ushort) |
|
static bool | re2::parse_double_float (const char *str, size_t n, bool isfloat, void *dest) |
|
pcre * | pcre_compile (const char *, int, const char **, int *, const unsigned char *) |
|
int | pcre_exec (const pcre *, const pcre_extra *, const char *, int, int, int, int *, int) |
|
void | pcre_free (void *) |
|
int | pcre_fullinfo (const pcre *, const pcre_extra *, int, void *) |
|
static const char * | re2::TerminateNumber (char *buf, const char *str, size_t n) |
|
◆ DEFINE_INTEGER_PARSER
#define DEFINE_INTEGER_PARSER |
( |
|
name | ) |
|
◆ PCRE_ANCHORED
◆ PCRE_ERROR_MATCHLIMIT
#define PCRE_ERROR_MATCHLIMIT 2 |
◆ PCRE_ERROR_NOMATCH
#define PCRE_ERROR_NOMATCH 1 |
◆ PCRE_ERROR_RECURSIONLIMIT
#define PCRE_ERROR_RECURSIONLIMIT 3 |
◆ PCRE_EXTRA_MATCH_LIMIT
#define PCRE_EXTRA_MATCH_LIMIT 0 |
◆ PCRE_EXTRA_MATCH_LIMIT_RECURSION
#define PCRE_EXTRA_MATCH_LIMIT_RECURSION 0 |
◆ PCRE_INFO_CAPTURECOUNT
#define PCRE_INFO_CAPTURECOUNT 0 |
◆ PCRE_NOTEMPTY
◆ PCREPORT
#define PCREPORT |
( |
|
level | ) |
LOG(level) |
◆ DEFINE_int32() [1/2]
DEFINE_int32 |
( |
regexp_match_limit |
, |
|
|
1000000 |
, |
|
|
"default PCRE match limit (function calls)" |
|
|
) |
| |
◆ DEFINE_int32() [2/2]
DEFINE_int32 |
( |
regexp_stack_limit |
, |
|
|
256<< |
10, |
|
|
"default PCRE stack limit (bytes)" |
|
|
) |
| |
◆ pcre_compile()
◆ pcre_exec()
◆ pcre_free()
void pcre_free |
( |
void * |
| ) |
|
◆ pcre_fullinfo()