Re: regex causing headache ;-(

From: Date: Thu, 14 Aug 2003 14:52:48 +0000
Subject: Re: regex causing headache ;-(
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-159588@lists.php.net to get a copy of this message
try RewriteRule ^!partner/([^/]*)/contact([\.]*).html$ profiles?modrew_fa=6 Merlin wrote:
Hi there, I am having trouble with a reg ex. What it should do is, terminate if the url is /*/contact.html but it should not terminate if it is /partner/*/contact.html where * stands for any value I tryed: RewriteRule ^!partner/(.*)/contact(.*).html$ profiles?modrew_fa=6 but obviously the partner thing does not work. Can anybody help me on that? Thanx in advance, Merlin


« previous php.general (#159588) next »