Gnus development mailing list
 help / color / mirror / Atom feed
From: Nevin Kapur <nevin@jhu.edu>
Subject: How to match '[' in nnmail-split-fancy
Date: 01 Apr 2001 17:33:49 -0400	[thread overview]
Message-ID: <m3ae60xq2q.fsf@fermat.mts.jhu.edu> (raw)

Hi,

I'm having trouble matching the character '[' in nnmail-split-fancy. I
have the following split rule:

	("subject" "\\[.+\\] *$" "junk")

This does not match the following line in the *Summary* buffer:

R       01-Apr  [h1pzm@msn.com       ] Something EVERY business needs! [s83jy]

However in the *scratch* buffer:

(string-match "\\[.+\\] *$" "Something EVERY business needs! [s83jy]")
32

does what I want. What am I missing?

-- 
Nevin


             reply	other threads:[~2001-04-01 21:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-01 21:33 Nevin Kapur [this message]
2001-04-01 21:53 ` Kai Großjohann
2001-04-02  0:32   ` Nevin Kapur
2001-04-02  6:05     ` Kai Großjohann
2001-04-02 15:46       ` Nevin Kapur
2001-04-11 11:52         ` Kai Großjohann

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=m3ae60xq2q.fsf@fermat.mts.jhu.edu \
    --to=nevin@jhu.edu \
    /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).