unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: double backslash problem in elisp
Date: Fri, 21 Aug 2009 19:42:29 -0700 (PDT)	[thread overview]
Message-ID: <142d3ba7-65a3-4572-bb27-3a0b42de161e@u38g2000pro.googlegroups.com> (raw)
In-Reply-To: mailman.5099.1250903947.2239.help-gnu-emacs@gnu.org

On Aug 21, 6:18 pm, Kevin Rodgers <kevin.d.rodg...@gmail.com> wrote:
> 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>

well i reddit the master regex cover to cover in 1998, and have Larry
Wall's sig to prove it.

• Pathetically Elational Regex Language
  http://xahlee.org/UnixResource_dir/perlr.html

☺

i swear i replied to this thread with something useful this morn...
but cant' find it now. Maybe it went private mail by mistake...

  Xah
∑ http://xahlee.org/

  parent reply	other threads:[~2009-08-22  2:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21  9:43 double backslash problem in elisp Xah Lee
2009-08-21 10:11 ` Teemu Likonen
2009-08-22  1:18 ` Kevin Rodgers
     [not found] ` <mailman.5099.1250903947.2239.help-gnu-emacs@gnu.org>
2009-08-22  2:42   ` Xah Lee [this message]
2009-08-22 21:39     ` Kevin Rodgers
2009-08-22 21:01   ` John A Pershing Jr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=142d3ba7-65a3-4572-bb27-3a0b42de161e@u38g2000pro.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).