#49598 [Com]: Save the POSIX RegExp functions - they're useful!
ID: 49598
Comment by: a at b dot c dot de
Reported By: sergey at lisergey dot net
Status: Open
Bug Type: Feature/Change Request
Operating System: FreeBSD
PHP Version: 5.2.11
New Comment:
Use the PCRE functions (such as preg_grep) instead.
Previous Comments:
------------------------------------------------------------------------
[2009-09-19 06:55:25] sergey at lisergey dot net
Description:
------------
I use posix regexp for log parsing and its extremely useful.
If it would be deprecated, I'd have to rewrite alot of code.
Yes, of course, I could call system() and use egrep, but it's weightier
and unsafer way to get some sophisticated stings out of a huge log.
Reproduce code:
---------------
---
From manual page: function.ereg
---
Expected result:
----------------
POSIX RegExp functions to be not deprecated
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49598&edit=1
Thread (3 messages)