Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hey monks,

I'm in a bit of tight spot with optimization and regular expressions. I'm making a program that uses URLs, but I'd like to filter out some URLs by using the easylist that Adblock Plus uses. Found here:
http://easylist.adblockplus.org/easylist.txt
What's the best way to pass hundreds, maybe thousands of URLs through that list?


Any tips would be greatly appreciated,
Mike

Replies are listed 'Best First'.
Re: URL filtering in Perl
by jethro (Monsignor) on Jun 20, 2009 at 10:38 UTC
Re: URL filtering in Perl
by Anonymous Monk on Jun 20, 2009 at 09:15 UTC
    First find the format specification for that file, them rules.