[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: procmail filter to catch ????????????????????

also sprach Anthony Campbell <ac@acampbell.org.uk> [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:"; net@madduck
echo '9,J8HD,fDGG8B@?:536FC5=8@I;C5?@H5B0D@5GBIELD54DL>@8L?:5GDEJ8LDG1' |\
  sed ss,s50EBsg | tr 0-M 'p.wBt SgiIlxmLhan:o,erDsduv/cyP'

Attachment: pgpgHxCy3QZdg.pgp
Description: PGP signature

Reply to: