Cedric Knight wrote:
> full NONLINK_SHORT              
> /^Content-Type:\s*text([^\n]+\n){0,30}\n.{0,300}\b(?:H\s*T\s*T\s*P\s*[:;](?<!http:)\W{0,10}|W\s{0,10}W\s{0,10}W\s{0,10}(?:[.,\'`]\s{0,10})(?<!www\.)\s{0,10})[a-z0-9\-]{3,13}\s{0,10}(?:[.,\'`]\s{0,10})?(?:net|c\s{0,10}o\s{0,10}m|org)\b/msi

In case anyone was thinking of using that, there is a potential
combinatorial problem, and it should read:

full NONLINK_SHORT
/\nContent-Type:\s*text([^\n]+\n){0,30}\n.{0,300}\b(?:H\s*T\s*T\s*P\s*[:;](?<!http:)\W{0,10}|W\s{0,10}W\s{0,10}W\s{0,10}(?:[.,\'`]\s{0,10})?(?<!www\.))[a-z0-9\-]{3,13}\s{0,10}(?:[.,\'`]\s{0,10})?(?<![a-z0-9]\.)(?:net|c\s{0,10}o\s{0,10}m|org|info|biz)\b/si

It's still ugly, though :)

Also possibly useful in meta rules, (in combination with checks like  &&
!__DOS_HAS_LIST_ID && !__DOS_HAS_LIST_UNSUB ) :

header __TO_NOREAL1             To =~
/^(?:<?[a-z0-9_\/?!\.-...@[a-z0-9\.-]+>?,?\s*)+$/i
describe __TO_NOREAL1           Single recipient, no real name


CK

Reply via email to