RE: [PHP] Simple preg I think [SOLVED]

2004-05-30 Thread Dave Carrera
01:53 To: Dave Carrera Subject: Re: [PHP] Simple preg I think Dave Carrera You are right! $str= "asdf./test"; echo preg_match("/\.\//", $str ,$arr); //print 1 print_r($arr); === 2004-05-30 11:55:00 您在来信中写道:=== >Hi Lis

RE: [PHP] Simple preg I think

2004-05-30 Thread Larry Brown
s not arriving as you expected. -Original Message- From: Dave Carrera [mailto:[EMAIL PROTECTED] Sent: Sunday, May 30, 2004 6:55 AM To: [EMAIL PROTECTED] Subject: [PHP] Simple preg I think Hi List, How do I match an accordance of "./" in a string (without the quotes) ? I have tri

[PHP] Simple preg I think

2004-05-30 Thread Dave Carrera
Hi List, How do I match an accordance of "./" in a string (without the quotes) ? I have tried preg_match("/\.\//i", $str); Which I thought would work , as per the manual, but no joy. Any help or guidance is appreciated Thank you in advance Dave C --- Outgoing mail is certified Virus Free. Ch