Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Rasmus Lerdorf
> While I try and request for a recompile of the system, is there an > alternate way out? Why don't you use the PCRE functions instead. The equivalent preg would be: preg_match("/__([a-z0-9_]+)__/i", "Hello __WO_RD__ Test", $Matches) > By the way, what is the significance of the switch --wit

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Sharat Hegde
Regards, Sharat >From: Rasmus Lerdorf <[EMAIL PROTECTED]> >To: Sharat Hegde <[EMAIL PROTECTED]> >CC: [EMAIL PROTECTED], <[EMAIL PROTECTED]> >Subject: Re: [PHP] Regular Expression Problem continues >Date: Thu, 28 Mar 2002 11:40:41 -0800 (PST) > >In your config

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Rasmus Lerdorf
gt;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.

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Sharat Hegde
.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:

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Rasmus Lerdorf
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: >

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Miguel Cruz
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 P

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Sharat Hegde
Rasmus, 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] Re

Re: [PHP] Regular Expression Problem continues

2002-03-28 Thread Rasmus Lerdorf
This code works fine: eregi("__([a-z0-9_]+)__", "Hello __WO_RD__ Test", $Matches); echo $Matches[1]; produces: WO_RD -Rasmus On Thu, 28 Mar 2002, Sharat Hegde wrote: > Hello, > > I am still having problems with the regular expressions. Looks like there > has been a change in the way they are

[PHP] Regular Expression Problem continues

2002-03-28 Thread Sharat Hegde
Hello, I am still having problems with the regular expressions. Looks like there has been a change in the way they are handled between PHP3 and PHP4, since the code worked with PHP3 !! I need to search for all words having alphanumberic characters as well as _ (underscore) which are prefixed