Re: Word boundaries in regexps (Apache bug?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Привет,

On Tue 15 Sep 2009, Victor Porton wrote:
> > <!--#if expr="$QUERY_STRING = /(^|\b)city(\b|$)/" -->
>
> After this change the test 2 passes, but it does not pass if I enter
> http://localhost/test2.shtml?city=2

Perhaps you have to outwit the SSI string parser. Just a guess:

  <!--#if expr="$QUERY_STRING = /\\bcity\\b/" -->

Torsten

-- 
Need professional mod_perl support?
Just hire me: torsten.foertsch@xxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux