help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Escaping carets?


From: Björn Lindström
Subject: Escaping carets?
Date: Mon, 29 Sep 2003 20:32:19 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

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 <address@hidden>
http://bkhl.elektrubadur.se/

Hearken to the new *Elektrubadur* demo at http://elektrubadur.se/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]