bug#3820: 23.0.96; Emacs Lisp typo

Andreas Schwab <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Message-ID <[email protected]>
waterloo <[email protected]> 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, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.