View Single Post
Old 01-08-2008, 11:50 AM   #2 (permalink)
Karl
The Reckoner
Advanced Programmer Top Contributor 
 
Karl's Avatar
 
Join Date: Sep 2007
Posts: 437
Thanks: 22
Karl is on a distinguished road
Default

There's no technical reason to my choice, but for sheer simplicity I would say to use filters over regex. I don't see the point in writing regex when you can easily use a pre-made filter. I'd only use regex if a filter is inadequate or doesn't exist.
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Karl is offline  
Reply With Quote
The Following User Says Thank You to Karl For This Useful Post:
Orc (01-08-2008)