comparison src/core/ngx_regex.h @ 499:64d9afb209da release-0.1.24

nginx-0.1.24-RELEASE import *) Feature: the ngx_http_ssi_filter_module supports the QUERY_STRING and DOCUMENT_URI variables. *) Bugfix: the ngx_http_autoindex_module may some times return the 404 response for existent directory, if this directory was used in "alias" directive. *) Bugfix: the ngx_http_ssi_filter_module ran incorrectly for large responses. *) Bugfix: the lack of the "Referer" header line was always accounted as valid referrer.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 04 Mar 2005 14:06:57 +0000
parents fd661d14a7fa
children d4ea69372b94
comparison
equal deleted inserted replaced
498:58fcf570b0cb 499:64d9afb209da
18 18
19 #define NGX_REGEX_CASELESS PCRE_CASELESS 19 #define NGX_REGEX_CASELESS PCRE_CASELESS
20 20
21 typedef pcre ngx_regex_t; 21 typedef pcre ngx_regex_t;
22 22
23 void ngx_regex_init(); 23 void ngx_regex_init(void);
24 ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options, 24 ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options,
25 ngx_pool_t *pool, ngx_str_t *err); 25 ngx_pool_t *pool, ngx_str_t *err);
26 ngx_uint_t ngx_regex_capture_count(ngx_regex_t *re); 26 ngx_uint_t ngx_regex_capture_count(ngx_regex_t *re);
27 ngx_int_t ngx_regex_exec(ngx_regex_t *re, ngx_str_t *s, 27 ngx_int_t ngx_regex_exec(ngx_regex_t *re, ngx_str_t *s,
28 int *captures, ngx_int_t size); 28 int *captures, ngx_int_t size);