From ce50cb7bcc0354df17af8c208465c3d8cb4b9adc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Malo?= Date: Thu, 24 Jul 2003 19:39:11 +0000 Subject: [PATCH] remove outdated comments about different regex libs git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100773 13f79535-47bb-0310-9956-ffa450edef68 --- modules/mappers/mod_rewrite.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/mappers/mod_rewrite.c b/modules/mappers/mod_rewrite.c index 80edefad3d..a0d8204734 100644 --- a/modules/mappers/mod_rewrite.c +++ b/modules/mappers/mod_rewrite.c @@ -618,9 +618,6 @@ static const char *cmd_rewritecond(cmd_parms *cmd, void *in_dconf, cp++; } - /* now be careful: Under the POSIX regex library - we can compile the pattern for case insensitive matching, - under the old V8 library we have to do it self via a hack */ if (newcond->flags & CONDFLAG_NOCASE) { rc = ((regexp = ap_pregcomp(cmd->pool, cp, REG_EXTENDED|REG_ICASE)) == NULL); @@ -724,12 +721,7 @@ static const char *cmd_rewriterule(cmd_parms *cmd, void *in_dconf, newrule->pattern = apr_pstrdup(cmd->pool, cp); newrule->regexp = regexp; - /* arg2: the output string - * replace the $ by \ which is needed by the currently - * used Regular Expression library - * - * TODO: Is this still required for PCRE? If not, does it *work* with PCRE? - */ + /* arg2: the output string */ newrule->output = apr_pstrdup(cmd->pool, a2); /* now, if the server or per-dir config holds an -- 2.50.1