1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-29 04:02:02 +03:00

Replace hsregex with PCRE. The PCRE library is always used in 2.0,

regardless of what system we are on.  Currently, we are using the POSIX
wrappers that PCRE provides.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85153 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan Bloom
2000-05-05 23:17:54 +00:00
parent dbe89e6787
commit c445556372
7 changed files with 98 additions and 20 deletions

View File

@@ -318,7 +318,7 @@ API_EXPORT(char *) ap_strcasestr(const char *s1, const char *s2)
* This is especially important for the DSO situations of modules.
* DO NOT MAKE A MACRO OUT OF THIS FUNCTION!
*/
API_EXPORT(int) ap_regexec(const regex_t *preg, const char *string,
API_EXPORT(int) ap_regexec(regex_t *preg, const char *string,
size_t nmatch, regmatch_t pmatch[], int eflags)
{
return regexec(preg, string, nmatch, pmatch, eflags);