aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_regex.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/ngx_regex.c b/src/core/ngx_regex.c
index 984a28aa9..af00f8319 100644
--- a/src/core/ngx_regex.c
+++ b/src/core/ngx_regex.c
@@ -137,23 +137,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_regex_exec_array(ngx_array_t *a, ngx_str_t *s, ngx_log_t *log)
{
ngx_int_t n;