X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=urlmatch.h;h=543f2b88f1eee794200ffc62143e0358a09b60ed;hp=8643aa4e71b921323aafd924656657ce3b90b93c;hb=HEAD;hpb=53748ca8ca3c893025be34dd4f104546fcbd0602 diff --git a/urlmatch.h b/urlmatch.h index 8643aa4e..543f2b88 100644 --- a/urlmatch.h +++ b/urlmatch.h @@ -50,9 +50,7 @@ extern int url_requires_percent_encoding(const char *url); extern int url_match(const struct pattern_spec *pattern, const struct http_request *http); -#ifdef HAVE_PCRE2 -extern int pcre2_pattern_matches(const pcre2_code *pattern, const char *string); -#endif +int regex_matches(const REGEX_TYPE *pattern, const char *string); extern jb_err create_pattern_spec(struct pattern_spec *url, char *buf); extern void free_pattern_spec(struct pattern_spec *url);