all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: waterloo <waterloo2005@gmail.com>
Cc: emacs-pretest-bug@gnu.org, 3820@emacsbugs.donarmstrong.com
Subject: bug#3820: 23.0.96; Emacs Lisp typo
Date: Sat, 11 Jul 2009 14:59:43 +0200	[thread overview]
Message-ID: <m2ocrrl6io.fsf@igel.home> (raw)
In-Reply-To: <907065090907110341k26ce5e6dk46e7ebcdb4bb9b99@mail.gmail.com> (waterloo's message of "Sat, 11 Jul 2009 18:41:54 +0800")

waterloo <waterloo2005@gmail.com> writes:

> In 34.3.1.1 Emacs Lisp Reference ,
>      Note that `\' also has special meaning in the read syntax of Lisp
>      strings (*note String Type::), and must be quoted with `\'.  For
>      example, the regular expression that matches the `\' character is
>      `\\'.  To write a Lisp string that contains the characters `\\',
>      Lisp syntax requires you to quote each `\' with another `\'.
>      Therefore, the read syntax for a regular expression matching `\'
>      is `"\\\\"'.
> The last sentence , it should be " .... matching `\\' is `"\\\\"'  ".

No, that string matches only a single backslash when interpreted as a
regexp.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





      reply	other threads:[~2009-07-11 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-11 10:41 bug#3820: 23.0.96; Emacs Lisp typo waterloo
2009-07-11 12:59 ` Andreas Schwab [this message]

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

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

  git send-email \
    --in-reply-to=m2ocrrl6io.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=3820@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=waterloo2005@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.