On Tue, 2008-04-22 at 01:29 +0200, Karsten Bräckelmann wrote:
> On Mon, 2008-04-21 at 14:59 -0500, Jack Pepper wrote:
> > Maybe try these:
> >
> > describe SILLYLONGDOMAINURI Includes a very long domain name gt 8 levels
> > uri SILLYLONGDOMAINURI /^http?\:\/\/([a-z0-9_\-A-Z]+\.){8,}/
> > score SILLYLONGDOMAINURI 1.8
> >
> > describe SILLYDOTSDOMAINURI Includes a multiple dots domain name
> > body SILLYDOTSDOMAINURI /^http?\:\/\/([a-z0-9_\-A-Z]+\.)+\./

>
> The latter won't hit on correct URIs. The first part in parenthesis ends
> with a dot -- followed by a dot.


Oops. Upon re-reading the "silly" in the rule name and the "multiple
dots" in the description, this might actually have been intentional.

Have you ever seen these? Would it work, does any MUA or browser
silently collapse multiple dots?

guenther


--
char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a \x10\xf4\xf4\xc4";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}