[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: double backslash problem in elisp
From: |
Kevin Rodgers |
Subject: |
Re: double backslash problem in elisp |
Date: |
Fri, 21 Aug 2009 19:18:37 -0600 |
User-agent: |
Thunderbird 2.0.0.22 (Macintosh/20090605) |
Xah Lee wrote:
double backslash should mean single backslash as far as i knows...
Yes, double backslash within "..." means a single backslash character
within that string.
But a backslash character within a regexp (i.e. a string interpreted by
a function such as replace-regexp-in-string as a regexp) is an escape
character in the regexp syntax. So it cannot stand on its own.
<grrr>Really Xah, for all your chest-puffing about your experience
in the field of programming, you really surprise me sometimes with
questions like this.</grrr>
--
Kevin Rodgers
Denver, Colorado, USA