For Programmers: Free Programming Magazines  


Home > Archive > PERL Programming > March 2007 > index, substr vs RE









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author index, substr vs RE
gr0undtek

2007-03-04, 7:57 am

Hi,

I am developing an application where i search on various pages for various keywords and extract them as found. At the moment I am using the index and substr functions and it works ok. Is there a clear performance benefit in using regular expressions instead of those functions?

thanks in advance
stelios
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com