comparison src/core/ngx_regex.h @ 195:8dee38ea9117

nginx-0.0.1-2003-11-25-23:44:56 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 25 Nov 2003 20:44:56 +0000
parents
children f1d0e5f09c1e
comparison
equal deleted inserted replaced
194:2357fa41738a 195:8dee38ea9117
1 #ifndef _NGX_REGEX_H_INCLUDED_
2 #define _NGX_REGEX_H_INCLUDED_
3
4
5 #include <ngx_config.h>
6 #include <ngx_core.h>
7
8 #include <pcre.h>
9
10
11 #define NGX_REGEX_CASELESS PCRE_CASELESS
12
13 typedef pcre ngx_regex_t;
14
15 void ngx_regex_init();
16 ngx_regex_t *ngx_regex_compile(ngx_str_t *pattern, ngx_int_t options,
17 ngx_pool_t *pool, ngx_str_t *err);
18 ngx_int_t ngx_regex_exec(ngx_regex_t *re, ngx_str_t *s);
19
20 #define ngx_regex_exec_n "pcre_exec()"
21
22
23 #endif /* _NGX_REGEX_H_INCLUDED_ */