>> My motivation for this operator is to encourage regular expression
>> use as part of the core toolbox of PHP programmers. I think,
>> especially in a web context, where so much work has to do with data
>> validation and manipulation, that this is a reasonable goal. The
>> features that the preg_* functions provide are great -- I think we
>> should explore ways to have an operator syntax for regular
>> expressions.
>
> I would like to encourage less usage of regular expressions by
> encouraging people to use very targeted and fast string manipulation
> functions.

I am all for str_whatever() when appropriate (for clarity, performance, or
whatever else). I think we just disagree on the meaning of "appropriate" in
this context.

> I know how most of the core guys feel on this one, and trust me,
> there is no chance this will get implemented.  A bunch of us would
> put up a very strong veto.

OK, thanks for the heads-up.

David

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

Reply via email to