Mercurial > hg > nginx
diff src/http/modules/ngx_http_ssi_filter_module.h @ 4381:e9a0427f4139
SSI: added regex captures support in the expression of the "if" command.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Sun, 25 Dec 2011 20:08:37 +0000 |
parents | 2d8fab47dd89 |
children | d620f497c50f |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_ssi_filter_module.h +++ b/src/http/modules/ngx_http_ssi_filter_module.h @@ -64,6 +64,12 @@ typedef struct { ngx_list_t *variables; ngx_array_t *blocks; +#if (NGX_PCRE) + ngx_uint_t ncaptures; + int *captures; + u_char *captures_data; +#endif + unsigned conditional:2; unsigned encoding:2; unsigned block:1;