# RFC: a better strip_tags() implementation with re2c

- Thread: https://externals.io/message/2164
- Original archive: https://news-web.php.net/php.internals/2164
- Started by Moriyoshi Koizumi on 2003-06-04T16:58:03+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2164 — Moriyoshi Koizumi — 2003-06-04T16:58:03+00:00

URL: https://externals.io/message/2164#2164

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
