[nginx] svn commit: r4327 - trunk/src/core
Valery Kholodkov
valery+nginxen at grid.net.ru
Tue Dec 6 16:23:34 UTC 2011
FYI This function is used in upload module:
https://github.com/vkholodkov/nginx-upload-module/blob/2.2/ngx_http_upload_module.c#L2656
----- vbart at nginx.com wrote:
> Author: vbart
> Date: 2011-12-06 15:49:40 +0000 (Tue, 06 Dec 2011)
> New Revision: 4327
>
> Modified:
> trunk/src/core/ngx_regex.c
> Log:
> Removed unused function ngx_regex_capture_count().
> The function has been unused since r3326.
>
>
> Modified: trunk/src/core/ngx_regex.c
> ===================================================================
> --- trunk/src/core/ngx_regex.c 2011-12-06 13:23:37 UTC (rev 4326)
> +++ trunk/src/core/ngx_regex.c 2011-12-06 15:49:40 UTC (rev 4327)
> @@ -137,23 +137,6 @@
>
>
> ngx_int_t
> -ngx_regex_capture_count(ngx_regex_t *re)
> -{
> - int rc, n;
> -
> - n = 0;
> -
> - rc = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &n);
> -
> - if (rc < 0) {
> - return (ngx_int_t) rc;
> - }
> -
> - return (ngx_int_t) n;
> -}
> -
> -
> -ngx_int_t
> ngx_regex_exec_array(ngx_array_t *a, ngx_str_t *s, ngx_log_t *log)
> {
> ngx_int_t n;
--
Regards,
Valery Kholodkov
More information about the nginx-devel
mailing list