mirror of
https://github.com/nginx/nginx.git
synced 2025-06-16 00:21:02 +08:00
Removed unused function ngx_regex_capture_count().
The function has been unused since r3326.
This commit is contained in:
parent
8618370487
commit
5ee62edffe
@ -136,23 +136,6 @@ failed:
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
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_int_t
|
||||||
ngx_regex_exec_array(ngx_array_t *a, ngx_str_t *s, ngx_log_t *log)
|
ngx_regex_exec_array(ngx_array_t *a, ngx_str_t *s, ngx_log_t *log)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user