At 20:58 14/10/2003, George Schlossnagle wrote:

On Tuesday, October 14, 2003, at 02:44 PM, Rasmus Lerdorf wrote:

For example, what would =~ do when you build PHP without PCRE support? Would it simply not work? Would it fall back to Posix-style regex? Why should PCRE-regex get an operator and Posix-style shouldn't? So we need two different types of regex operators?

Now _that's_ the best idea so far! I actually propose a set of operators


=~ PCRE
=-) POSIX (happy, because there on every system)
>={ strstr (evil, because it's confusing - which is needle, which is haystack?)

+1


Zeev

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to