Re: hot to use perg_match with multi strign patern

From: Date: Wed, 07 May 2003 10:14:05 +0000
Subject: Re: hot to use perg_match with multi strign patern
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-146641@lists.php.net to get a copy of this message
Shouldn't it be: if (eregi('/\b(got|am)\b/', $mesage, $matches)) { }
                        ^ end slash
-- Jason k Larson qt wrote:
Dear Ernes, Thanks for help, it is working very good with preg_match. But when I try same thing with eregi, it is not working any idea why? if (eregi("/\b(got|am)\b", $mesage, $matches))


« previous php.general (#146641) next »