From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: bkhl@elektrubadur.se (=?iso-8859-1?q?Bj=F6rn_Lindstr=F6m?=) Newsgroups: gmane.emacs.help Subject: Escaping carets? Date: Mon, 29 Sep 2003 20:32:19 +0200 Organization: Upsalafandom Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8765jbo37w.fsf@lucien.dreaming> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1064861336 14037 80.91.224.253 (29 Sep 2003 18:48:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Sep 2003 18:48:56 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 29 20:48:54 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A434o-0001Pe-00 for ; Mon, 29 Sep 2003 20:48:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A431l-0000nV-Q2 for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Sep 2003 14:45:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!cyclone.bc.net!sjc70.webusenet.com!rip!news.webusenet.com!News-Peer-Europe!news.stupi.se!newsfeed.sunet.se!news01.sunet.se!news.utfors.se!lucien.dreaming!news Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: md469096c.utfors.se Original-X-Trace: yggdrasil.utfors.se 1064860072 17936 212.105.9.108 (29 Sep 2003 18:27:52 GMT) Original-X-Complaints-To: abuse@utfors.se Original-NNTP-Posting-Date: 29 Sep 2003 18:27:52 GMT X-PGP-Key: http://bkhl.elektrubadur.se/Key.html X-Home-Page: http://bkhl.elektrubadur.se/ User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:hdzz5EjVvQ+ZYLqeHKAZJXW9l+s= Original-Xref: shelby.stanford.edu gnu.emacs.help:116945 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:12871 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12871 I want something like this in my gnus-message-archive-group. I seem to get something wrong concerning the caret in regexps however, since it doesn't match my nnfolders as long as I include it. If I just use "nnfolder:" instead it works, but it's not pretty. How do I escape that caret so that it works? (if (string-match "^nnfolder:" group) group "outgoing") -- Björn Lindström http://bkhl.elektrubadur.se/ Hearken to the new *Elektrubadur* demo at http://elektrubadur.se/