Re: Regular Expression Problem continues

From: Date: Thu, 28 Mar 2002 18:51:44 +0000
Subject: Re: Regular Expression Problem continues
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90572@lists.php.net to get a copy of this message
Works for me in 4.1.1 (and 4.1.2) too. Are you sure there's not something else going on? Can you provide an unadulterated code sample pasted directly from your problem script? miguel On Thu, 28 Mar 2002, Sharat Hegde wrote: > The code worked fine in PHP Version 3.x > > It does not work with PHP Version 4.1.1. That is where I have a problem. > > With Regards, > Sharat > > >From: Rasmus Lerdorf <rasmus@lerdorf.ca> > >To: Sharat Hegde <sharat_hegde@hotmail.com> > >CC: php-general@lists.php.net > >Subject: Re: [PHP] Regular Expression Problem continues > >Date: Thu, 28 Mar 2002 02:33:16 -0800 (PST) > > > >This code works fine: > > > >eregi("__([a-z0-9_]+)__", "Hello __WO_RD__ Test", $Matches); > >echo $Matches[1]; > > > >produces: > > > >WO_RD

« previous php.general (#90572) next »