]> granicus.if.org Git - apache/commitdiff
remove outdated comments about different regex libs
authorAndré Malo <nd@apache.org>
Thu, 24 Jul 2003 19:39:11 +0000 (19:39 +0000)
committerAndré Malo <nd@apache.org>
Thu, 24 Jul 2003 19:39:11 +0000 (19:39 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100773 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_rewrite.c

index 80edefad3d77b39dfcf00ff6d87e98126a52370f..a0d8204734828dbfaccf0fd62ceeb6704f762c64 100644 (file)
@@ -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 $<N> by \<n> 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