Once the URLs have been retrieved from the RegEx they will most likely need to be filtered.
I think seperating out the filters into their own classes would be the best approach here, I can then create objects of them in a collection and loop the URL collection through them all.
I can think of two filters that we need so far :
- Error/Incorrect URLs (Possible it might need to run this one before the incomplete URL building?)
- URLs that link to different domains
Once the URLs have been retrieved from the RegEx they will most likely need to be filtered.
I think seperating out the filters into their own classes would be the best approach here, I can then create objects of them in a collection and loop the URL collection through them all.
I can think of two filters that we need so far :