From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40109 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: What's wrong with this regexp? Date: Wed, 07 Nov 2001 14:39:09 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035175710 31475 80.91.224.250 (21 Oct 2002 04:48:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:48:30 +0000 (UTC) Return-Path: Original-Received: (qmail 3285 invoked from network); 7 Nov 2001 19:41:29 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Nov 2001 19:41:29 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 161YY6-0001Gi-00; Wed, 07 Nov 2001 13:39:46 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 07 Nov 2001 13:39:29 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA25119 for ; Wed, 7 Nov 2001 13:39:14 -0600 (CST) Original-Received: (qmail 3253 invoked by alias); 7 Nov 2001 19:39:15 -0000 Original-Received: (qmail 3248 invoked from network); 7 Nov 2001 19:39:13 -0000 Original-Received: from mesquite.slip.cs.cmu.edu (HELO cinnamon.vanillaknot.com) (128.2.207.11) by gnus.org with SMTP; 7 Nov 2001 19:39:13 -0000 Original-Received: (from karl@localhost) by cinnamon.vanillaknot.com (8.11.2/8.11.2) id fA7JdAL05709; Wed, 7 Nov 2001 14:39:10 -0500 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6 hR;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu In-Reply-To: (Frank Schmitt's message of "Wed, 07 Nov 2001 20:32:55 +0100") Original-Lines: 11 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Civil Service) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40109 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40109 Frank Schmitt writes: > Don't we use the regexp scheme documented under > (x)emacs->Searching and Replacement->Regexp search? Yes, but it's a matter of the lisp reader's context: You have to double most occurrences of `\' in order to get them into a lisp expression. What you type in the minibuffer as "\(a\|b\)" must become "\\(a\\|b\\)" when used in a string expression in elisp. BTW, nnmail-split-methods usage is case-insensitive unless you explicitly turn off case-fold-search in nnmail-split-hook.