#49594 [Bgs]: POSIX regex are important
| From: | jay at phpcourses dot ca | Date: | Thu, 01 Oct 2009 16:24:22 +0000 |
| Subject: | #49594 [Bgs]: POSIX regex are important | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143144@lists.php.net to get a copy of this message | ||
ID: 49594
User updated by: jay at phpcourses dot ca
Reported By: jay at phpcourses dot ca
Status: Bogus
Bug Type: Feature/Change Request
Operating System: all
PHP Version: 5.3.0
New Comment:
you are mistaken again
posix regex are ALSO everywhere!
i have written probably 10000 scripts, i won't be updating them to use
your favorite version of regex
you have once again missed the point:
do not throw away support for APIs
YOU keep the regex, and let US choose
that's community-driven, open-source software
trust me on this
Previous Comments:
------------------------------------------------------------------------
[2009-10-01 15:19:24] beverloo@php.net
No, you think it's a mistake. In fact, the PCRE library offers more
features, (mostly) better performance and is used in other programming
languages as well (Java, Javascript, .NET). On top of that, it offers
more consistent syntax.
After all, no one is forcing you to upgrade your PHP version. It will
remain available throughout the 5.x versions. Just don't update to PHP 6
if it really is a problem. Either way, you've got more than enough time
to update any scripts or sites.
------------------------------------------------------------------------
[2009-10-01 15:16:20] pajoye@php.net
You completely ignore the options you have, that's your rights. There
is no bug, there is no issue > bogus. If you don't know how to use the
error_reporting flags, please read the manual or ask for support in one
of the numerous support channels.
Thanks for your understanding.
------------------------------------------------------------------------
[2009-10-01 15:03:36] jay at phpcourses dot ca
you've missed the point entirely
unlike C and Java etc
php has gone the route of "most of your old scripts will no longer work
when you upgrade php"
it's a mistake
there is no point in trying to defend it, it's a known mistake that's
made many of us upset
for example, i teach php at a university and at a college, in addition
to being a contractor and developing my own sites such as
torqueinvoicing.com and we all know it's a mistake
------------------------------------------------------------------------
[2009-10-01 14:29:34] pajoye@php.net
The api is still usable as it is emulated by pcre. If you really like
to use it for the rest of your life, disable the deprecated warnings and
be done with that.
------------------------------------------------------------------------
[2009-10-01 14:25:16] jay at phpcourses dot ca
recommended?
simply not true
all it ever says is "Note: preg_match(), which uses a Perl-compatible
regular expression syntax, is often a faster alternative to ereg(). "
plus, posix regex have a life of their own, independent of php
at my engineering firm we use posix regex exclusively
php is making a mistake abandoning parts of its api.
a mistake.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/49594
--
Edit this bug report at http://bugs.php.net/?id=49594&edit=1