Re: preg_match too greedy

From: Date: Wed, 29 Jul 2009 23:28:49 +0000
Subject: Re: preg_match too greedy
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-296041@lists.php.net to get a copy of this message
On Wed, 29 Jul 2009 13:42:23 -0400, php@logi.ca (b) wrote: >I'm trying to figure out how to test if a string matches *exactly* >another string, using a regexp pattern. If this is REALLY what you want to do, what is wrong with strcmp?

« previous php.general (#296041) next »