Re: hot to use perg_match with multi strign patern

From: Date: Wed, 07 May 2003 20:32:54 +0000
Subject: Re: hot to use perg_match with multi strign patern
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-146646@lists.php.net to get a copy of this message
It is not working to > > if (eregi("/\b(got|am)\b", $mesage, $matches)) "Jason K Larson" <jlarson@candlefire.org> wrote in message news:3EB8DC6D.3050102@candlefire.org... > 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 (#146646) next »