Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* nnimap-split-rule regex: match newlines
@ 2006-12-15 18:28 Kurt B. Kaiser
  2006-12-15 19:12 ` Aurélien Cedeyn
  0 siblings, 1 reply; 5+ messages in thread
From: Kurt B. Kaiser @ 2006-12-15 18:28 UTC (permalink / raw)


I'm trying to split on two headers which are separated by a couple of
lines.  But I haven't been able to figure out how to match the newlines.
I have:

        ("INBOX.SomeMailbox"
         "^From:.*avendor\\(.*[ \t\n]\\)*Subject:.*Order Confirmation")

I started with 

"^From:.*avendor.*Subject:.*Order Confirmation" but '.' doesn't match
a newline.  I tried progressively more complicated regex but no joy.

-- 
Thanks, KBK

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

end of thread, other threads:[~2006-12-16 17:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-15 18:28 nnimap-split-rule regex: match newlines Kurt B. Kaiser
2006-12-15 19:12 ` Aurélien Cedeyn
2006-12-15 19:25   ` Kurt B. Kaiser
2006-12-15 21:32     ` David Z Maze
2006-12-16 17:34       ` Kurt B. Kaiser

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