|
From: | Kurt B. Kaiser |
Subject: | nnimap-split-rule regex: match newlines |
Date: | Fri, 15 Dec 2006 13:28:26 -0500 |
User-agent: | Gnus/5.110006 (No Gnus v0.6) Emacs/21.2 (berkeley-unix) |
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
[Prev in Thread] | Current Thread | [Next in Thread] |