In your configure flags you have: --with-regex=system Why did you do this? Recompile without that switch and see if things change.
-Rasmus On Thu, 28 Mar 2002, Sharat Hegde wrote: > Yes....there may be something else going wrong. The source code of the test > file I have is: > > <?php > if (eregi("__([a-z0-9_]+)__", "Hello __WO_RD__ Test", $Matches)) > print "Match Found with " . $Matches[1] . "<br>"; > else > print "Match Not Found<br>"; > ?> > > The source is on my server in a test directory at > http://www.byronholidays.com/inikatest/testereg.php3 or > http://www.byronholidays.com/inikatest/testereg.php > > To check the PHP version on the server, you can run > http://www.byronholidays.com/inikatest/checkenv.php3 > > Regards, > Sharat > > >From: Miguel Cruz <[EMAIL PROTECTED]> > >To: Sharat Hegde <[EMAIL PROTECTED]> > >CC: [EMAIL PROTECTED] > >Subject: Re: [PHP] Regular Expression Problem continues > >Date: Thu, 28 Mar 2002 12:51:44 -0600 (CST) > > > >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 <[EMAIL PROTECTED]> > > > >To: Sharat Hegde <[EMAIL PROTECTED]> > > > >CC: [EMAIL PROTECTED] > > > >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 > > > > > >-- > >PHP General Mailing List (http://www.php.net/) > >To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php