On Sat, Oct 3, 2009 at 15:55, John Hardin <jhar...@impsec.org> wrote: > On Sat, 3 Oct 2009, John Rudd wrote: > >> On Sat, Oct 3, 2009 at 11:06, Warren Togami <wtog...@redhat.com> wrote: >> >>> >>> # 8-letter .cn domain, per Warren Togami >>> uri CN_EIGHT >>> m;^https?://(?:[^./]+\.)*[^./]{8}\.cn/; >>> describe CN_EIGHT .CN uri with eight-letter domain name >>> score CN_EIGHT 0.10 >>> >>> Possible bug here... Do all URI's necessarily have a trailing slash? >> >> >> And, don't you want to omit whitespace from the 8 characters? Or am I >> missing something that takes care of that for you? > > I don't think a parsed URI would have whitespace in the hostname part. This > isn't a body rule.
That would be the part I was missing :-)