Re: [PHP4BETA] Status of regular expressions?

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: [PHP4BETA] Status of regular expressions?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-3926@lists.php.net to get a copy of this message
> so, there is now the reg.c which handles the (I believe) fully > POSIX compliant regular expressions and the pcre module which > handle the Perl compatible regexs... > > Is this going to change? Is this going to be somehow unified? > Is there a performance difference between the two? > > Also, it's probably not a problem to have two different ways to handle > regexs, but if, say, functions from different libraries are to take > different types of regex patterns as their inputs, > it might cause some confusion, no ? I don't see this changing. There is a lot of legacy code out there using Posix-style regular expressions, and a lot of people actually prefer that style. But, at the same time, many people want Perl-style regular expressions, so we provide both. I don't see this as a problem in any way. -Rasmus

« previous php.version4 (#3926) next »