Re: Re: [PROPOSAL]Add second to callback of preg_replace_callback
| From: | Stas Malyshev | Date: | Tue, 07 May 2013 06:02:58 +0000 |
| Subject: | Re: Re: [PROPOSAL]Add second to callback of preg_replace_callback | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67325@lists.php.net to get a copy of this message | ||
Hi!
> Here is another example from a real case (Horde_Date)
Looks like the case of doing it wrong. In most cases it doesn't even
need regexp, in others, generic regexp with post-parsing would probably
be more efficient as this seems to do 20+ passes through the string.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227