Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2164 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54933 invoked from network); 4 Jun 2003 16:55:01 -0000 Received: from unknown (HELO vckyb2.nw.wakwak.com) (211.9.230.145) by pb1.pair.com with SMTP; 4 Jun 2003 16:55:01 -0000 Received: from at.wakwak.com (at.wakwak.com [211.9.230.135:25]) by vckyb2.nw.wakwak.com (Postfix) with ESMTP id 97F2040139 for ; Thu, 5 Jun 2003 01:55:00 +0900 (JST) Received: from at.wakwak.com (z148.61-205-221.ppp.wakwak.ne.jp [61.205.221.148]) by at.wakwak.com (8.12.9/8.12.9/2003-06-03) with SMTP id h54Gt0dO043529 for ; Thu, 5 Jun 2003 01:55:00 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) Date: Thu, 05 Jun 2003 01:58:03 +0900 X-Mailer: EdMax Ver2.85.3F MIME-Version: 1.0 To: php-internal Message-ID: <20030605015803#AXKRs@at.wakwak.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: RFC: a better strip_tags() implementation with re2c From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) Hi, I've finally made a better strip_tags() implementation with re2c scanner generator. The new implementation comes with a set of generic methods that covers the current functionality plus several enhancements which enables us to properly handle tags that span multiple lines. The patch can be found at http://www.voltex.jp/patches/strip_tags-patch.diff.gz Any comments are welcome. Moriyoshi