[wp-hackers] Putting the P in WordPress

John Blackbourn johnbillion+wp at gmail.com
Mon Jul 5 15:58:52 UTC 2010


On Mon, Jul 5, 2010 at 4:53 PM,  <elflop at googlemail.com> wrote:
>
> so is that preg_replace of any use here?
>
> Rich

There's some discussion on that ticket that regexes use a
disproportionately high amount of processing power for the small
amount to be gained in this particular scenario, so if this
functionality isn't going to be pulled then it would be preferred to
use a string replace (as per Mark Jaquith's suggestions on that
ticket) rather than a regex replace.


More information about the wp-hackers mailing list