>-----Original Message-----
>From: Jonas Eckerman [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, July 21, 2004 1:29 PM
>To: [EMAIL PROTECTED]
>Subject: Re: [RD] Bigevil update info, and more help request.
>
>
>On Wed, 21 Jul 2004 19:11:01 +0200, Jonas Eckerman wrote:
>
>Replying to myself...
>�
>>� Have you tried using "Regexp::List", "Regexp::Optimizer" or
>
>Just found another one that might be worth checking out:
>Perl-compatible regular expression optimizer
>http://bisqwit.iki.fi/source/regexopt.html
>
>It's a simple command line program that optimizes regular 
>expressions. A test:
>
>/\bhomeg(?:ain\.com|ain\.biz|ain\.net|un\.com)\b/i
>became
>/bhomeg(?:(?:ai|u)n\.com|ain\.(?:biz|net))b/i
>
>/\bhomel(?:oanace\.com|andunited\.com|anddefensejournal\.com|an
>ddefenseradio\.com|andsecurityresearch\.com|ead\.net|essprelate
>s\.com|essteens\.com)\b/i
>became
>/bhomel(?:ead\.net|(?:oanace|ess(?:prelate|teen)s|an(?:d(?:unit
>ed|securityresearch)|ddefense(?:journal|radio)))\.com)b/i
>
>Maybe worth trying a script using this...
>
>If I have more time, I might try feeding the expressions 
>currently in bigevil thorugh this one and "Regexp::Optimizer" 
>to see what they might give me.
>
>What does the source data for bigevil look like? Is it just 
>one long list of domains?
>
>Regards
>/Jonas
>

Very cool! I will try to test this out today. Yup after a whole bunch of
other scripts get done, I'm left with a simple list of domains.

--Chris

Reply via email to