unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bkhl@elektrubadur.se (Björn Lindström)
Subject: Escaping carets?
Date: Mon, 29 Sep 2003 20:32:19 +0200	[thread overview]
Message-ID: <8765jbo37w.fsf@lucien.dreaming> (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/

             reply	other threads:[~2003-09-29 18:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-29 18:32 Björn Lindström [this message]
2003-10-01  1:30 ` Escaping carets? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8765jbo37w.fsf@lucien.dreaming \
    --to=bkhl@elektrubadur.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).