Re: POSIX regex
| From: | Nuno Lopes | Date: | Mon, 16 Jul 2007 14:22:04 +0000 |
| Subject: | Re: POSIX regex | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30978@lists.php.net to get a copy of this message | ||
PCRE has a POSIX API, so it is possible to use PCRE as a drop-in replacement for the engine behind ereg(). What I don't know is how compatible it is with the current engine. But I think it worth investigating.
Nuno
P.S.: this POSIX PCRE layer isn't currently bundled with PHP, because it wasn't needed so far.