View Single Post
Old 03-09-2012, 11:56 AM  
Brujah
Beer Money Baron
 
Brujah's Avatar
 
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
Quote:
Originally Posted by fris View Post
i actually timed it, the preg match is faster
I can believe it, the DOM method does a lot more but is definitely overkill for just a simple one-off regex.
__________________
Brujah is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote