Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22705 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38479 invoked by uid 1010); 10 Apr 2006 13:11:31 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38464 invoked from network); 10 Apr 2006 13:11:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Apr 2006 13:11:31 -0000 X-Host-Fingerprint: 217.79.190.163 r163.red.fastwebserver.de Received: from ([217.79.190.163:29443] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1E/14-09839-2895A344 for ; Mon, 10 Apr 2006 09:11:30 -0400 To: internals@lists.php.net Date: Mon, 10 Apr 2006 15:11:28 +0200 Message-ID: <20060410151128.1fdaa0ab@localhost.localdomain> Reply-To: pierre.php@gmail.com X-Newsreader: Sylpheed-Claws 2.1.0 (GTK+ 2.8.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Posted-By: 217.79.190.163 Subject: ext/filter, custom decimal separator, supports leading 0, regexp From: pierre.php@gmail.com (Pierre) Hello, Due to the success on my precedent post, I try again to get some comments on my precedent patch and some new things I need in ext/filer. This patch adds or changes the following things: - regexp uses functions (ext/pcre) - 100% compatible with preg_* functions - Use of expression caches and other (faster) - Regexp tests now work - rewrite the filter_float - support custom decimal separator. Let the developer decides which separator to use, the default is not changed - slightly faster than the old implementation (and with the new features) The patch: http://pear.php.net/~pierre/filter_float_add_custom_seps_and_pcre.txt Some examples: http://pecl.php.net/~pierre/filter_float.phps Any ideas or comments are welcome, --Pierre