Re: Search for a *

From: Date: Tue, 20 Apr 2004 16:31:39 +0000
Subject: Re: Search for a *
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184022@lists.php.net to get a copy of this message
* Thus wrote Brent Clark (bclark@equation.co.za): > Hi all > how do you search for a * in preg_match You need to escape it: preg_match('/\*/', $var); Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#184022) next »