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.

--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  USMC Rules of Gunfighting #6: If you can choose what to bring to a
  gunfight, bring a long gun and a friend with a long gun.
-----------------------------------------------------------------------
 Approximately 9127320 firearms legally purchased in the U.S. this year

Reply via email to