Monday, October 12, 2009

Re: [BLUG] PHP ereg() question

Its weird though because I would have thought the opposite would be
true based on the comments people make about Perl (that its old and
obfuscated). In our opinion obviously PCRE are better, but that doesn't
really make them more obvious. I would think that given that most unix
utilities use POSIX RE and not PCRE, that POSIX would be more standard.

As I stated to the developers when I made my first post on PHP-DEV
though, this wasn't about which was better, it was only about giving the
proper amount of time (or major releases) in between announcing that
something is deprecated and removing it. The PHP core developers think
1 minor release is enough warning for a major core function.


On Mon, Oct 12, 2009 at 08:00:43PM GMT, Sams, Weldon [wsams@indiana.edu] said the following:
> I agree with Steven. Also the preg functions are quite a bit faster.
>
> Weldon
>
> > -----Original Message-----
> > From: blug-bounces@cs.indiana.edu [mailto:blug-bounces@cs.indiana.edu]
> > On Behalf Of Black, Steven Wayne
> > Sent: Monday, October 12, 2009 15:53
> > To: Bloomington LINUX Users Group
> > Subject: Re: [BLUG] PHP ereg() question
> >
> > This is Extended Regular Expressions vs. Perl Compatible Regular
> > Expressions?
> >
> > I don't use PHP, so this doesn't impact me, however in general most
> > people expect Perl Compatible Regular Expressions, so I expect it will
> > clear up a number of issues.
> >
> > Cheers,
> > Steven Black
> >
> > On Mon, Oct 12, 2009 at 07:40:30PM +0000, Mark Krenz wrote:
> > >
> > > Any of you on the list use PHP? Did you know they are going to
> > remove
> > > the ereg set of functions in PHP 6 in favor of the PCRE functions
> > > (preg_match, etc.). Could I ask how do you feel about this?
> > >
> > > Thanks.
> > >
> > > --
> > > Mark Krenz
> > > Bloomington Linux Users Group
> > > http://www.bloomingtonlinux.org/
> > > _______________________________________________
> > > BLUG mailing list
> > > BLUG@linuxfan.com
> > > http://mailman.cs.indiana.edu/mailman/listinfo/blug
> >
> > _______________________________________________
> > BLUG mailing list
> > BLUG@linuxfan.com
> > http://mailman.cs.indiana.edu/mailman/listinfo/blug
>
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug
>

--
Mark Krenz
Bloomington Linux Users Group
http://www.bloomingtonlinux.org/
_______________________________________________
BLUG mailing list
BLUG@linuxfan.com
http://mailman.cs.indiana.edu/mailman/listinfo/blug

No comments: