unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Escaping carets?
@ 2003-09-29 18:32 Björn Lindström
  2003-10-01  1:30 ` Jesper Harder
  0 siblings, 1 reply; 5+ messages in thread
From: Björn Lindström @ 2003-09-29 18:32 UTC (permalink / raw)


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

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-02  0:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-29 18:32 Escaping carets? Björn Lindström
2003-10-01  1:30 ` Jesper Harder
2003-10-01 12:14   ` Björn Lindström
2003-10-01 23:51     ` Jesper Harder
2003-10-02  0:06       ` Björn Lindström

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).