also sprach Anthony Campbell <[EMAIL PROTECTED]> [2002.02.19.1453 +0100]:
> :0:
> * ^Subject:.*[\0-9\][\0-9\][\0-9\][\0-9\][\0-9\]
> junkfile
> 
> From my reading of the regexp docs I thught this should catch all long
> number sequences enclosed in \, but I don't think it's right.

\123 is not a number sequence per se, it's an octal number, and it
occupies only 1-2 bytes, not four as its ascii representation.

regardless, the above would be:

* ^Subject:.*(\[0-9]{3})+

which would match a sequence of one or more \123.

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:"; [EMAIL PROTECTED]
  
echo '9,J8HD,[EMAIL PROTECTED]:[EMAIL PROTECTED];[EMAIL 
PROTECTED]@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
  sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'

Attachment: pgp4cClwLqg8p.pgp
Description: PGP signature

Reply via email to