From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Santanu Newsgroups: gmane.emacs.help Subject: Re: What's wrong with this code?? Date: Wed, 19 May 2010 01:57:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <692ac3f2-98f6-4eff-9f0b-ddd955770e03@a39g2000prb.googlegroups.com> References: <65c33ee7-8443-4cec-8227-9005bf4fe494@v29g2000prb.googlegroups.com> <87eiha5ipf.fsf@fh-trier.de> <47907911-2186-4668-81d3-e0475196ade1@n37g2000prc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291832798 16562 80.91.229.12 (8 Dec 2010 18:26:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 8 Dec 2010 18:26:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 19:26:34 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQOin-00026r-Gg for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 19:26:33 +0100 Original-Received: from localhost ([127.0.0.1]:48790 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQOim-0000Kr-OD for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 13:26:32 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!a39g2000prb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 203.200.188.2 Original-X-Trace: posting.google.com 1274259473 27645 127.0.0.1 (19 May 2010 08:57:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 19 May 2010 08:57:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a39g2000prb.googlegroups.com; posting-host=203.200.188.2; posting-account=R_BDFgoAAABML1HpMLCTWTyWOZzR1via User-Agent: G2/1.0 X-HTTP-Via: 1.1 vsnlnet.wbut.ac.in:3128 (squid/2.5.STABLE9) X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100204 SUSE/3.5.8-0.1.1 Ant.com Toolbar 2.0.1 Firefox/3.5.8, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:178261 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75786 Archived-At: On May 19, 2:04=A0am, Stefan Monnier wrote: > > 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 ;-). Thanks. I will have to keep this in mind too. Things now got a bit more complex :-) Regards, Santanu