waiwai933 Posted May 25, 2009 Share Posted May 25, 2009 Is it true that POSIX is being phased out and replaced by PCRE? If so, when will POSIX disappear completely from PHP? Link to comment https://forums.phpfreaks.com/topic/159596-is-it-true-that-posix-is-being-phased-out-and-replaced-by-pcre/ Share on other sites More sharing options...
Axeia Posted May 25, 2009 Share Posted May 25, 2009 The oldest set of regex functions are those that start with ereg. They implement POSIX Extended Regular Expressions, like the traditional UNIX egrep command. These functions are mainly for backward compatibility with PHP 3, and officially deprecated as of PHP 5.3.0. Many of the more modern regex features such as lazy quantifiers, lookaround and Unicode are not supported by the ereg functions. Don't let the "extended" moniker fool you. The POSIX standard was defined in 1986, and regular expressions have come a long way since then. Link to comment https://forums.phpfreaks.com/topic/159596-is-it-true-that-posix-is-being-phased-out-and-replaced-by-pcre/#findComment-841788 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.