Mercurial > hg > nginx-vendor-0-8
annotate src/core/ngx_regex.h @ 4:4b2dafa26fe2 NGINX_0_1_2
nginx 0.1.2
*) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS
options in configure.
*) Feature: the server_name directive supports *.domain.tld.
*) Bugfix: the portability improvements.
*) Bugfix: if configuration file was set in command line, the
reconfiguration was impossible; bug appeared in 0.1.1.
*) Bugfix: proxy module may get caught in an endless loop when sendfile
is not used.
*) Bugfix: with sendfile the response was not recoded according to the
charset module directives; bug appeared in 0.1.1.
*) Bugfix: very seldom bug in the kqueue processing.
*) Bugfix: the gzip module compressed the proxied responses that was
already compressed.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Thu, 21 Oct 2004 00:00:00 +0400 |
parents | f0b350454894 |
children | e1ada20fc595 |
rev | line source |
---|---|
0 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_REGEX_H_INCLUDED_ | |
8 #define _NGX_REGEX_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 | |
14 #include <pcre.h> | |
15 | |
16 | |
17 #define NGX_REGEX_CASELESS PCRE_CASELESS | |
18 | |
19 typedef pcre ngx_regex_t; | |
20 | |
21 void ngx_regex_init(); | |
22 ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options, | |
23 ngx_pool_t *pool, ngx_str_t *err); | |
24 ngx_int_t ngx_regex_exec(ngx_regex_t *re, ngx_str_t *s, | |
25 int *matches, ngx_int_t size); | |
26 | |
27 #define ngx_regex_exec_n "pcre_exec()" | |
28 | |
29 | |
30 #endif /* _NGX_REGEX_H_INCLUDED_ */ |