From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61426 Path: news.gmane.org!not-for-mail From: Henrik Enberg Newsgroups: gmane.emacs.gnus.general Subject: Re: [help]regexp in posting styles Date: Mon, 28 Nov 2005 19:11:52 +0100 (CET) Message-ID: <20051128181152.280B840DB@rocksteady.printf.se> References: <86ek53ijuu.fsf@gmail.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1133201739 16879 80.91.229.2 (28 Nov 2005 18:15:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 28 Nov 2005 18:15:39 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+m9958@lists.math.uh.edu Mon Nov 28 19:15:38 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EgnVx-0004Oz-1m for ding-account@gmane.org; Mon, 28 Nov 2005 19:14:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EgnVr-0007Gg-00; Mon, 28 Nov 2005 12:14:03 -0600 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EgnTp-0007GX-00 for ding@lists.math.uh.edu; Mon, 28 Nov 2005 12:11:57 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EgnTm-0004GN-Ni for ding@lists.math.uh.edu; Mon, 28 Nov 2005 12:11:57 -0600 Original-Received: from pne-smtpout1-sn1.fre.skanova.net ([81.228.11.98]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EgnTl-0002Ai-00 for ; Mon, 28 Nov 2005 19:11:53 +0100 Original-Received: from rocksteady.printf.se (81.224.154.131) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 4387161400109F3F; Mon, 28 Nov 2005 19:11:51 +0100 Original-Received: by rocksteady.printf.se (Postfix, from userid 1000) id 280B840DB; Mon, 28 Nov 2005 19:11:52 +0100 (CET) Original-To: leon In-reply-to: <86ek53ijuu.fsf@gmail.com> (message from leon on Sat, 26 Nov 2005 14:06:49 +0000) X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61426 Archived-At: > From: leon > Date: Sat, 26 Nov 2005 14:06:49 +0000 > > Hi all, > > I'm trying to configure posting styles for groups match 'string1' or > 'string2', I have the following lines in my gnus.el. However, it doesn't > work. Any ideas? > > ("^string1\|^string2" ;;; this line has problems "^\\(string\\|string2\\)" Note that the \ is an escape character inside strings, so it must itself be escaped.