httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Soumya Sanyal" <>
Subject Regex Help with Mod Rewrite
Date Tue, 21 Aug 2007 16:04:58 GMT
 This might not be the most appropriate forum to field this question - but
I'm having serious issues with the formulation of a regex for Mod Rewrite. I
actually have a couple of questions to ask :

1> What is particular flavor of the regex engine being used by Mod Rewrite -
there are ever so slight variations in the different regex engines, e.g.
linux grep vs perl grep etc.
2> I'm having trouble formulating a good compact regex to represent the
following problem :

I want my RewriteCond to be conditioned on the %{QUERY_STRING} to contain
only the powerset of a group of words e.g.

Hence if my set is say {rain,spain,plain}

The RewriteCond should say yes to the following :,spain,rain,rain,rain,spain

But not :,spain,mainly

Help please ?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message