On Mon, Jan 29, 2007 at 08:54:01PM +0100, Sander wrote:
> Date: Mon, 29 Jan 07 20:33:10 +0100
> 
> So, wondering what the problem would be, i read the RFC. This says that
> a 2-digit year is obsolete, but supported for backwards compatibility.

FWIW, SA doesn't care about RFC compliance in as much as it cares about
"likelihood of being spam".

> This regexp is easily broken down in little tests, and the year test
> seem to be
> 
> (?:[12][901])?[0-9]{2}
> 
> I would think that "07" as year would be allowed, but the test (changing
> 07 to 2007) shows otherwise. I've tried the regexp in an online perl
> regexp tester, and that showed that i am correct. 
> 
> Can anyone explain the error?

My guess is that you're using sa-update, which has a different regexp
for the rule.  The year portion of which is /(?:19[7-9]\d|2\d{3})/,
which doesn't accept 2 digit years.

-- 
Randomly Selected Tagline:
"From what I'd seen of British TV, some shows use the word bastard like
 I use a comma."               - J. Michael Straczynski

Attachment: pgpG4IKPHqpcV.pgp
Description: PGP signature

Reply via email to