Jump to content

Hi, i created few functions which parse html but doesn't use regex, is that ok ?


jd2007

Recommended Posts

RegEx has LOTS of advantages, the question isn't a bad question but it really all depends on what you want to do.

 

If you don't need fancy matching rules, then explode is fine (in some cases better) but if you need 20 explode's to pull one thing out then regex it probably better!

 

PS:

Bad programmer rarely know they are bad, thats what makes them bad.. your probably just inexperanced.. but pratice makes per..... well longer nights and increased the price of coffee and/or red bull

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.