Having already built something exactly like this for anti-spam work, I can say that just about every rule I have is a Regular Expression. The only rules that aren't are the len(from), len(to), len(subject) rules. The issue of Regular Expressions is control. How can you check if there are pound signs in a CFSET or CFIF if you don't know what the boundaries of those tags are? You can do a find to get the start, a find to get the end and then search between those two points, but that's so much extra work where a single, elegant Regular Expression would do.
> On that note, do you think some of the rules for the engine would need > to be something other than regular expressions? > > Steve > > >And just so it's clear - I'm more than cool with folks talking about > >the contest. The point isn't to win the prizes - but more to attempt > >to solve the problem,and to share your results with others. Then my > >readers and I slowly pick apart the entries. ;) Seriously though - > the > >point is to share so we can all learn. I think a lot can be learned > by > >seeing how other people solve problems. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243214 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54