From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel Subject: Re: regexp-quote missing escapes in grouping constructs - Bug? Date: Sat, 14 Jun 2008 06:16:53 +0200 Message-ID: <20080614041653.GA6808@tomas> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1213416940 7558 80.91.229.12 (14 Jun 2008 04:15:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Jun 2008 04:15:40 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader To: MON KEY Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 14 06:16:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K7NBe-0004bK-TX for ged-emacs-devel@m.gmane.org; Sat, 14 Jun 2008 06:16:23 +0200 Original-Received: from localhost ([127.0.0.1]:36111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7NAq-0002QA-QK for ged-emacs-devel@m.gmane.org; Sat, 14 Jun 2008 00:15:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7NAm-0002Pv-31 for emacs-devel@gnu.org; Sat, 14 Jun 2008 00:15:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7NAk-0002Pj-1b for emacs-devel@gnu.org; Sat, 14 Jun 2008 00:15:26 -0400 Original-Received: from [199.232.76.173] (port=35593 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7NAj-0002Pg-T4 for emacs-devel@gnu.org; Sat, 14 Jun 2008 00:15:25 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104]:56661 helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7NAf-0003iY-W4; Sat, 14 Jun 2008 00:15:22 -0400 Original-Received: by www.elogos.de (Postfix, from userid 1000) id 2990A90185; Sat, 14 Jun 2008 06:16:53 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15+20070412 (2007-04-11) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99164 Archived-At: -----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=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIU0Y1Bcgs9XrR2kYRAjc/AJwPIAhKhoMdc5iDeFo6U3dNMAYn6wCeJZH9 FcFJY6lNWbQODDxxBlDm2Qw=3D =3DO1bw -----END PGP SIGNATURE-----