[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What's wrong with this code??
From: |
Stefan Monnier |
Subject: |
Re: What's wrong with this code?? |
Date: |
Wed, 08 Dec 2010 15:08:53 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
> Ah... I see. Now I understand. So, basically, just a single '\'
> character in an elisp regexp string acts as if it wasn't even there in
> the first place.
Yes, except when it's a valid escape sequence, i.e. when the backslash
is followed by r, t, ^, C, M, 0-9, x, o, d, e, a, b, v, LF, n, ", s, u,
U, or f (and maybe a few more ;-).
Stefan