[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to really escape a double quote?
From: |
Kevin Rodgers |
Subject: |
Re: How to really escape a double quote? |
Date: |
Sat, 26 Feb 2011 01:55:48 -0700 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
On 2/24/11 5:00 PM, David Kastrup wrote:
...
^ loses its special meaning if it is not the first character of the
string. So move your escaped double-quote one position to the right.
I didn't know that! Here's the reference from (elisp)Regexp Special:
For historical compatibility reasons, `^' can be used only at the
beginning of the regular expression, or after `\(', `\(?:' or `\|'.
--
Kevin Rodgers
Denver, Colorado, USA