Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45160 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40565 invoked from network); 31 Jul 2009 08:19:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2009 08:19:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=mozo@mozo.jp; spf=permerror; sender-id=permerror Authentication-Results: pb1.pair.com header.from=mozo@mozo.jp; sender-id=permerror Received-SPF: error (pb1.pair.com: domain mozo.jp from 209.85.217.228 cause and error) X-PHP-List-Original-Sender: mozo@mozo.jp X-Host-Fingerprint: 209.85.217.228 mail-gx0-f228.google.com Received: from [209.85.217.228] ([209.85.217.228:60610] helo=mail-gx0-f228.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/92-26675-A09A27A4 for ; Fri, 31 Jul 2009 04:19:24 -0400 Received: by gxk28 with SMTP id 28so2466846gxk.23 for ; Fri, 31 Jul 2009 01:19:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.86.9 with SMTP id j9mr1714449agb.56.1249028360128; Fri, 31 Jul 2009 01:19:20 -0700 (PDT) In-Reply-To: References: <4A6C6496.7060603@mozo.jp> Date: Fri, 31 Jul 2009 17:19:00 +0900 Message-ID: To: Alexey Zakhlestin Cc: php-dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Alternative mbstring implementation using ICU From: mozo@mozo.jp (Moriyoshi Koizumi) On Thu, Jul 30, 2009 at 7:21 PM, Alexey Zakhlestin wrot= e: > 2009/7/26 Moriyoshi Koizumi : > >> - mb_ereg_search(), mb_ereg_search_getpos(), mb_ereg_search_getregs(), >> =A0mb_ereg_search_init(), mb_ereg_search_pos(), mb_ereg_search_regs() an= d >> =A0mb_ereg_search_setpos() >> =A0I rarely heard a script that actively uses these functions. They >> =A0involve an internal state that is not visible to users, and thus it >> =A0most likely causes confusion when used across the function calls. >> =A0Need to be reimplemented as a class. > > I actually do use these. ;) > Probably, it will make sense to implement a completely new oniguruma > extension instead of keeping it as a part of mb_? I'm planng to reimplement them as a single SPL iterator. As I noted, I also created a separate oniguruma extension that you can browse at http://github.com/moriyoshi/php-oniguruma/ Regards, Moriyoshi > -- > Alexey Zakhlestin > http://www.milkfarmsoft.com/ >