Gnus development mailing list
 help / color / mirror / Atom feed
* How to match '[' in nnmail-split-fancy
@ 2001-04-01 21:33 Nevin Kapur
  2001-04-01 21:53 ` Kai Großjohann
  0 siblings, 1 reply; 6+ messages in thread
From: Nevin Kapur @ 2001-04-01 21:33 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-04-11 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01 21:33 How to match '[' in nnmail-split-fancy Nevin Kapur
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

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).