Groonga 3.0.9 Source Code Document
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Functions
ngx_regex.h File Reference
#include <ngx_config.h>
#include <ngx_core.h>
#include <pcre.h>
Include dependency graph for ngx_regex.h:

Go to the source code of this file.

Data Structures

struct  ngx_regex_t
struct  ngx_regex_compile_t
struct  ngx_regex_elt_t

Macros

#define NGX_REGEX_NO_MATCHED   PCRE_ERROR_NOMATCH /* -1 */
#define NGX_REGEX_CASELESS   PCRE_CASELESS
#define ngx_regex_exec(re, s, captures, size)
#define ngx_regex_exec_n   "pcre_exec()"

Functions

void ngx_regex_init (void)
ngx_int_t ngx_regex_compile (ngx_regex_compile_t *rc)
ngx_int_t ngx_regex_exec_array (ngx_array_t *a, ngx_str_t *s, ngx_log_t *log)

Macro Definition Documentation

#define NGX_REGEX_CASELESS   PCRE_CASELESS

Definition at line 20 of file ngx_regex.h.

#define ngx_regex_exec (   re,
  s,
  captures,
  size 
)
Value:
pcre_exec(re->code, re->extra, (const char *) (s)->data, (s)->len, 0, 0, \
captures, size)

Definition at line 52 of file ngx_regex.h.

#define ngx_regex_exec_n   "pcre_exec()"

Definition at line 55 of file ngx_regex.h.

#define NGX_REGEX_NO_MATCHED   PCRE_ERROR_NOMATCH /* -1 */

Definition at line 18 of file ngx_regex.h.

Function Documentation

ngx_int_t ngx_regex_compile ( ngx_regex_compile_t rc)

Definition at line 117 of file ngx_regex.c.

Here is the call graph for this function:

ngx_int_t ngx_regex_exec_array ( ngx_array_t a,
ngx_str_t s,
ngx_log_t log 
)

Definition at line 212 of file ngx_regex.c.

Here is the call graph for this function:

void ngx_regex_init ( void  )

Definition at line 73 of file ngx_regex.c.

Here is the caller graph for this function: