From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74809 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.gnus.general Subject: Re: nnimap-split-methods syntax Date: Tue, 07 Dec 2010 00:08:56 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291676993 14004 80.91.229.12 (6 Dec 2010 23:09:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Dec 2010 23:09:53 +0000 (UTC) Cc: ding@gnus.org To: Tommy Kelly Original-X-From: ding-owner+M23165@lists.math.uh.edu Tue Dec 07 00:09:48 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPkBn-0007B1-Qs for ding-account@gmane.org; Tue, 07 Dec 2010 00:09:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PPkBY-0008Bf-QA; Mon, 06 Dec 2010 17:09:32 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PPkBV-0008BJ-WF for ding@lists.math.uh.edu; Mon, 06 Dec 2010 17:09:30 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PPkBU-0000Wm-Li for ding@lists.math.uh.edu; Mon, 06 Dec 2010 17:09:29 -0600 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PPkBT-0000EB-00 for ; Tue, 07 Dec 2010 00:09:27 +0100 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 7A17F1C0F57C; Tue, 7 Dec 2010 00:08:57 +0100 (CET) Original-Received: from igel.home (ppp-88-217-122-250.dynamic.mnet-online.de [88.217.122.250]) by mail.mnet-online.de (Postfix) with ESMTP id 5A1D91C00139; Tue, 7 Dec 2010 00:08:57 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 00745CA2A0; Tue, 7 Dec 2010 00:08:56 +0100 (CET) X-Yow: All this time I've been VIEWING a RUSSIAN MIDGET SODOMIZE a HOUSECAT! In-Reply-To: (Tommy Kelly's message of "Mon, 06 Dec 2010 21:13:20 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2.90 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74809 Archived-At: Tommy Kelly writes: > Yeah, clearly (having begun reading regexp stuff) this is bonkers. I tried: > > ("0_to-me" "^From:.*verilab.com.*^To:.*tommy.kelly@verilab.com") > > But I then learned that "." doesn't match LF or CR. You can use "\\(.\\|\n\\)" to match really everything. But another problem with the regexp is that ^ is only special at the beginning of a (sub-)regexp (use "\n" to match newline in the middle). > For example, is there a way of "nesting" the split methods the way I > could do in a sieve script? Try out fancy splitting. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."