Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30980 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85934 invoked by uid 1010); 16 Jul 2007 14:25:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 85919 invoked from network); 16 Jul 2007 14:25:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jul 2007 14:25:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:42163] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/E3-62403-DDF7B964 for ; Mon, 16 Jul 2007 10:25:33 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id E017FDF0148; Mon, 16 Jul 2007 15:53:25 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16196-04; Mon, 16 Jul 2007 15:53:23 +0200 (CEST) Received: from [192.168.1.46] (49-120.5-85.cust.bluewin.ch [85.5.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 2D093DF0043; Mon, 16 Jul 2007 15:53:23 +0200 (CEST) Message-ID: <469B783F.5010409@pooteeweet.org> Date: Mon, 16 Jul 2007 15:53:03 +0200 User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: Ilia Alshanetsky Cc: Andi Gutmans , jani.taskinen@iki.fi, internals@lists.php.net References: <698DE66518E7CA45812BD18E807866CE648191@us-ex1.zend.net> <54C4340A-D9EA-4B5A-B39C-B55B29B1B3BC@prohost.org> In-Reply-To: <54C4340A-D9EA-4B5A-B39C-B55B29B1B3BC@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] POSIX regex From: mls@pooteeweet.org (Lukas Kahwe Smith) Ilia Alshanetsky wrote: > > On 16-Jul-07, at 9:46 AM, Andi Gutmans wrote: > >> Why move it to PECL? I agree that PCRE is the preferred way but not >> having ereg() will break a huge amount of applications for very little >> gain. > > I tend to agree, unless we provide wrappers via PCRE that emulate ereg > functionality I don't think we can remove posix regex until PHP 6. Doing before PHP6 would require some very very solid wrappers. Giving the little phpt coverage (*) we currently seem to have for ereg, I do not think its really possible to be able to even determine if any attempt at a wrapper is truely solid or not. regards, Lukas (*) Actually I heard this said on IRC. I do not see an ext/ereg on gcov.php.net .. are the available tests part of regexp?