httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] Word boundaries in regexps (Apache bug?)
Date Tue, 15 Sep 2009 11:11:34 GMT
On Tue, 2009-09-15 at 12:52 +0200, André Warnier wrote:
> Victor Porton wrote:
> ...
> > 
> > <!--#if expr="$QUERY_STRING = /city/" -->
> I am not sure which add-on module of Apache, and which version you are 
> talking about, but are you sure that the above right-hand side is 
> interpreted as a regexp, as opposed to a simple string ?
> Can you point us to the relevant documentation ?

string1 = string2
string1 == string2
string1 != string2
        Compare string1 with string2. If string2 has the form /string2/
        then it is treated as a regular expression. Regular expressions
        are implemented by the PCRE engine and have the same syntax as
        those in perl 5. Note that == is just an alias for = and behaves
        exactly the same way.
No idea why it isn't working for him.



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message