all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomas@tuxteam.de
To: MON KEY <monkey@sandpframing.com>
Cc: emacs-devel@gnu.org, Miles Bader <miles@gnu.org>
Subject: Re: regexp-quote missing escapes in grouping constructs - Bug?
Date: Sat, 14 Jun 2008 06:16:53 +0200	[thread overview]
Message-ID: <20080614041653.GA6808@tomas> (raw)
In-Reply-To: <d2afcfda0806131036n58d584bal495cd7341bcf5c22@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Jun 13, 2008 at 01:36:07PM -0400, MON KEY wrote:
> Y. but why are the "?" a"[" and "+" getting escaped regardless of the
> presence of a preceding \ whereas the alternative "|" inside the
> grouping construct isn't?

Ah -- maybe somewhat unexpectedly to you (e.g. in Perl it is), the "|"
isn't special in Emacs. You have to spell "\|" to say "alternative".

HTH
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIU0Y1Bcgs9XrR2kYRAjc/AJwPIAhKhoMdc5iDeFo6U3dNMAYn6wCeJZH9
FcFJY6lNWbQODDxxBlDm2Qw=
=O1bw
-----END PGP SIGNATURE-----




  parent reply	other threads:[~2008-06-14  4:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12 23:39 regexp-quote missing escapes in grouping constructs - Bug? St/n_P/rm/n
2008-06-13  6:17 ` Miles Bader
2008-06-13 17:36   ` MON KEY
2008-06-13 22:21     ` Stefan Monnier
2008-06-14  4:16     ` tomas [this message]
2008-06-13  6:20 ` Herbert Euler

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

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

  git send-email \
    --in-reply-to=20080614041653.GA6808@tomas \
    --to=tomas@tuxteam.de \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=monkey@sandpframing.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.