From: André Malo Date: Sun, 17 Oct 2004 16:24:34 +0000 (+0000) Subject: actually reg_extended has no effect in pcre context. X-Git-Tag: 2.1.1~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4e324f6875c25d03eeca5c79416a346f7642cfc;p=apache actually reg_extended has no effect in pcre context. It's probably more confusing for users git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105504 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/experimental/mod_filter.c b/modules/experimental/mod_filter.c index 1deb311baf..261c3d5ce6 100644 --- a/modules/experimental/mod_filter.c +++ b/modules/experimental/mod_filter.c @@ -506,8 +506,7 @@ static const char *filter_provider(cmd_parms *cmd, void *CFG, flags = REG_NOSUB; /* we're not mod_rewrite:-) */ for (c = rxend+1; *c; ++c) { switch (*c) { - case 'i': flags |= REG_ICASE; break; - case 'x': flags |= REG_EXTENDED; break; + case 'i': flags |= REG_ICASE; break; } } provider->match.regex = ap_pregcomp(cmd->pool,