[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regexp-quote bug with "\" characters?
From: |
Christoph Conrad |
Subject: |
Re: regexp-quote bug with "\" characters? |
Date: |
Fri, 08 Mar 2002 09:58:06 +0100 |
User-agent: |
Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) |
> (regexp-quote "\begin{document}") => "^Hegin{document}
> Instead of : "\\\\begin{document}"
Elisp manual, Node: Character Type
?\b => 8 ; backspace, <BS>, `C-h'
(regexp-quote "\\begin{document}")
is exactly what you want.