Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: Lowering spam Subjects ending like: [ ]+[0-9]+$
Date: 13 Dec 2000 16:26:55 +0100	[thread overview]
Message-ID: <vafpuiwjq9s.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <lfofygtmvv.fsf@Samizdat.uucom.com>

On 13 Dec 2000, Chris Shenton wrote:

> My emacs regexp skills aren't stellar but I should be able to figure
> it out if I know where to begin. Looking for a pattern that ends
> with (say) 16 or more spaces then 4-6 digits, then the end of line.

That's easy:

"        [0-9][0-9][0-9][0-9][0-9]?[0-9]?$"

This means at least four and at most six digits.  "[0-9]?" is an
optional digit, whereas "[0-9]" (without "?") is a mandatory digit.
I'm sure you can adjust the number of spaces easily enough.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



  reply	other threads:[~2000-12-13 15:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-13 14:29 Chris Shenton
2000-12-13 15:26 ` Kai Großjohann [this message]
2000-12-16 23:43 ` Johan Kullstam
2000-12-18 15:36   ` Chris Shenton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vafpuiwjq9s.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).