RE: [PHP-DEV] regex operators

From: Date: Tue, 14 Oct 2003 18:28:33 +0000
Subject: RE: [PHP-DEV] regex operators
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4843@lists.php.net to get a copy of this message
>> 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

« previous php.internals (#4843) next »