[Htmlparser-developer] Extending AndFilter and OrFilter, adding XorFilter
Brought to you by:
derrickoswald
From: Ian M. <ian...@gm...> - 2006-05-08 14:00:57
|
I would like to be able to do AndFilter and OrFilter with an array of existing filters (there is a method to do so but a constructor is far more handy, and stops you making an invalid one then making it valid in a second step). Having a quick peek at the source, it looks like this can be achieved easily with a simple new constructor that takes an array of filters. Does anyone object to this? Secondly, I thought it might be handy to add an XorFilter (eXclusive OR). Is this something people might be interested in? Thanks Ian Macfarlane |