From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/10278 Path: news.gmane.org!not-for-mail From: bojohan+news@dd.chalmers.se (Johan =?utf-8?Q?Bockg=C3=A5rd?=) Newsgroups: gmane.emacs.gnus.user Subject: Re: nnimap-split-fancy and regexp Date: Fri, 01 Feb 2008 14:04:49 +0100 Organization: Chalmers University of Technology, Sweden Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1201873227 1720 80.91.229.12 (1 Feb 2008 13:40:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Feb 2008 13:40:27 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Feb 01 14:40:47 2008 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JKw8M-0000VV-RR for gegu-info-gnus-english@m.gmane.org; Fri, 01 Feb 2008 14:40:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKw7v-0006o8-0F for gegu-info-gnus-english@m.gmane.org; Fri, 01 Feb 2008 08:40:19 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!porbandar.httrack.net!news.httrack.net!goblin2!goblin.stu.neva.ru!news.net.uni-c.dk!newsfeed.sunet.se!news01.sunet.se!129.16.222.141.MISMATCH!gide.ita.chalmers.se!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 34 Original-NNTP-Posting-Host: remote2.student.chalmers.se Original-X-Trace: gide.ita.chalmers.se 1201871089 31417 129.16.29.80 (1 Feb 2008 13:04:49 GMT) Original-X-Complaints-To: usenet@gide.ita.chalmers.se Original-NNTP-Posting-Date: Fri, 1 Feb 2008 13:04:49 +0000 (UTC) Mail-Copies-To: never User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:BhY/vn8+UD4KH/c18sbnC9oRt70= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:80489 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:10278 Archived-At: Uwe Brauer writes: (info "(gnus) Fancy Mail Splitting") says "Normally, VALUE in these splits must match a complete _word_ according to the fundamental mode syntax table. In other words, all VALUE's will be implicitly surrounded by `\<...\>' markers, which are word delimiters. [...] 1. You can set the `nnmail-split-fancy-match-partial-words' variable to non-`nil' in order to ignore word boundaries and instead the match becomes more like a grep. This variable controls whether partial words are matched during fancy splitting. The default value is `nil'. [...] 2. VALUE beginning with `.*' ignores word boundaries in front of a word. Similarly, if VALUE ends with `.*', word boundaries in the rear of a word will be ignored. For example, the VALUE `"@example\\.com"' does not match `foo@example.com' but `".*@example\\.com"' does. [...]" > No, I did not try, and I neither understand why > ("Subject" ".*\\[Using Moodle:\\].*" "Moodle") > > does not work. As far as I understand regexp (and I must admit I don't > understand them very much), > ".*\\[Using Moodle:\\].*" > states match anything followed but Using Moodle followed by anything It matches the string ``[Using Moodle:]'' (including brackets) surrounded by anything. -- Johan Bockgård