php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #49598 Save the POSIX RegExp functions - they're useful!
Submitted: 2009-09-19 06:55 UTC Modified: 2010-11-24 14:42 UTC
From: sergey at lisergey dot net Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.2.11 OS: FreeBSD
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sergey at lisergey dot net
New email:
PHP Version: OS:

 

 [2009-09-19 06:55 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-01 04:43 UTC] a at b dot c dot de
Use the PCRE functions (such as preg_grep) instead.
 [2010-11-24 14:42 UTC] jani@php.net
-Status: Open +Status: Bogus -Package: Feature/Change Request +Package: *General Issues
 [2010-11-24 14:42 UTC] jani@php.net
Deprecated does not mean "removed instantly"..
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 27 01:00:02 2025 UTC