On Mon, 13 Jul 2009, Charles Gregory wrote:

On Mon, 13 Jul 2009, rich...@buzzhost.co.uk wrote:
 On Mon, 2009-07-13 at 10:46 -0400, Charles Gregory wrote:
>  (?!www\.[a-z]{2,6}[0-9]{2,6}\.(com|net|org))
>  www[^a-z0-9]+[a-z]{2,6}[0-9]{2,6}[^a-z0-9]+(com|net|org)

 Does not seem to work with;
 www. meds .com

Correct. With spaces being one of the possible obfuscation characters,
this otherwise 'broad' rule is limited to the cookie-cutter URL's with numeric suffixes in the hostnames - something unlikely to appear in conversational text like "whether the [www can com]municate ideas"... :)

That possible FP is why \b are important in the 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
-----------------------------------------------------------------------
  Users mistake widespread adoption of Microsoft Office for the
  development of a document format standard.
-----------------------------------------------------------------------
 3 days until the 64th anniversary of the dawn of the Atomic Age

Reply via email to