From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41104 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: What's wrong with this regexp? Date: Sat, 29 Dec 2001 22:37:42 +0100 Organization: Programmerer Ingebrigtsen 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 1035176554 4390 80.91.224.250 (21 Oct 2002 05:02:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:02:34 +0000 (UTC) Return-Path: Original-Received: (qmail 1065 invoked from network); 29 Dec 2001 21:45:42 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 29 Dec 2001 21:45:42 -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 16KRGC-0004i8-00; Sat, 29 Dec 2001 15:43:20 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 29 Dec 2001 15:43:12 -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 PAA28445 for ; Sat, 29 Dec 2001 15:42:52 -0600 (CST) Original-Received: (qmail 967 invoked by alias); 29 Dec 2001 21:42:11 -0000 Original-Received: (qmail 962 invoked from network); 29 Dec 2001 21:42:11 -0000 Original-Received: from quimby.gnus.org (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 29 Dec 2001 21:42:11 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16KRTy-0001N4-00 for ; Sat, 29 Dec 2001 22:57:34 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 17 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby2.netfonds.no 1009663054 5105 195.204.10.148 (29 Dec 2001 21:57:34 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 29 Dec 2001 21:57:34 GMT Mail-Copies-To: never X-Now-Playing: N.M.L. (No More Landmine)'s _Zero Landmine_: "Zero Landmine (Piano + Cello Version)" User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 (i686-pc-linux-gnu) X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: >> 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. > > I had the same problem a few days ago, and finally found the solution > by searching through some of the "other peoples .gnus-files" on the > net. I suppose, just one little example with "\\(To\\|cc\\)" in the > info file about mail-splitting would help very much. Well, the examples in that section of the manual does use \\... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen