NogDog wrote:That would have caused way too much uproar for backwards compatibility. However, it may at some point become an optional extension that is not enabled by default.
There is still quite a lot of use of POSIX regex in many PHP-based applications today (including PEAR and PhpMyAdmin); in many cases it's been sitting there for ages without anyone bothering to fix it ('cos it ain't actually broken - except in cases where people have linked against a different library with different syntax).
But since the bundled POSIX regex library is a fossil compared with PCRE, there's little enthusiasm for continuing to maintain it indefinitely. Hence the decision to make it a PECL extension for PHP 6: it'll be there for legacy support but out of the main stream of development (seeing as that where it effectively is already).