re 68 core/ngx_regex.c ngx_regex_t *re; re 72 core/ngx_regex.c re = pcre_compile((const char *) rc->pattern.data, (int) rc->options, re 78 core/ngx_regex.c if (re == NULL) { re 95 core/ngx_regex.c rc->regex = re; re 97 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &rc->captures); re 107 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_NAMECOUNT, &rc->named_captures); re 117 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_NAMEENTRYSIZE, &rc->name_size); re 123 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_NAMETABLE, &rc->names); re 140 core/ngx_regex.c ngx_regex_capture_count(ngx_regex_t *re) re 146 core/ngx_regex.c rc = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &n); re 161 core/ngx_regex.c ngx_regex_elt_t *re; re 163 core/ngx_regex.c re = a->elts; re 167 core/ngx_regex.c n = ngx_regex_exec(re[i].regex, s, NULL, 0); re 176 core/ngx_regex.c n, s, re[i].name); re 47 core/ngx_regex.h #define ngx_regex_exec(re, s, captures, size) \ re 48 core/ngx_regex.h pcre_exec(re, NULL, (const char *) (s)->data, (s)->len, 0, 0, \ re 512 http/modules/ngx_http_referer_module.c ngx_regex_elt_t *re; re 528 http/modules/ngx_http_referer_module.c re = ngx_array_push(rlcf->regex); re 529 http/modules/ngx_http_referer_module.c if (re == NULL) { re 534 http/modules/ngx_http_referer_module.c re->regex = regex; re 535 http/modules/ngx_http_referer_module.c re->name = name->data; re 556 http/modules/ngx_http_referer_module.c re->regex = rc.regex; re 557 http/modules/ngx_http_referer_module.c re->name = name->data; re 4403 http/ngx_http_core_module.c ngx_regex_elt_t *re; re 4439 http/ngx_http_core_module.c re = ngx_array_push(clcf->gzip_disable); re 4440 http/ngx_http_core_module.c if (re == NULL) { re 4452 http/ngx_http_core_module.c re->regex = rc.regex; re 4453 http/ngx_http_core_module.c re->name = value[i].data; re 1726 http/ngx_http_variables.c ngx_http_regex_t *re; re 1737 http/ngx_http_variables.c re = ngx_pcalloc(cf->pool, sizeof(ngx_http_regex_t)); re 1738 http/ngx_http_variables.c if (re == NULL) { re 1742 http/ngx_http_variables.c re->regex = rc->regex; re 1743 http/ngx_http_variables.c re->ncaptures = rc->captures; re 1746 http/ngx_http_variables.c cmcf->ncaptures = ngx_max(cmcf->ncaptures, re->ncaptures); re 1751 http/ngx_http_variables.c return re; re 1759 http/ngx_http_variables.c re->variables = rv; re 1760 http/ngx_http_variables.c re->nvariables = n; re 1761 http/ngx_http_variables.c re->name = rc->pattern; re 1787 http/ngx_http_variables.c return re; re 1792 http/ngx_http_variables.c ngx_http_regex_exec(ngx_http_request_t *r, ngx_http_regex_t *re, ngx_str_t *s) re 1801 http/ngx_http_variables.c if (re->ncaptures) { re 1815 http/ngx_http_variables.c rc = ngx_regex_exec(re->regex, s, r->captures, len); re 1824 http/ngx_http_variables.c rc, s, &re->name); re 1828 http/ngx_http_variables.c for (i = 0; i < re->nvariables; i++) { re 1830 http/ngx_http_variables.c n = re->variables[i].capture; re 1831 http/ngx_http_variables.c index = re->variables[i].index; re 87 http/ngx_http_variables.h ngx_int_t ngx_http_regex_exec(ngx_http_request_t *r, ngx_http_regex_t *re,