From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Unquoted special characters in regexps Date: Mon, 27 Feb 2006 21:32:55 +0100 Message-ID: References: <4400AD8E.5050001@gmx.at> <4400BBB1.2050800@gmx.at> <200602252213.k1PMDBP24413@raven.dms.auburn.edu> <4401A98D.3070809@gmx.at> <4401E0F2.7030800@gmx.at> <4401FCBA.1070206@gmx.at> <44035AFC.8060108@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1141414345 16739 80.91.229.2 (3 Mar 2006 19:32:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2006 19:32:25 +0000 (UTC) Cc: teirllm@dms.auburn.edu, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 03 20:32:22 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FFG0O-0001lh-Rq for ged-emacs-devel@m.gmane.org; Fri, 03 Mar 2006 20:32:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FFG0N-0007Sb-1p for ged-emacs-devel@m.gmane.org; Fri, 03 Mar 2006 14:31:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FEwBW-0001wv-Cp for emacs-devel@gnu.org; Thu, 02 Mar 2006 17:22:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FEwBM-0001uj-0n for emacs-devel@gnu.org; Thu, 02 Mar 2006 17:22:07 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FEAqY-0007vi-CO for emacs-devel@gnu.org; Tue, 28 Feb 2006 14:49:22 -0500 Original-Received: from [195.135.220.2] (helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FDp43-00048z-7U; Mon, 27 Feb 2006 15:33:51 -0500 Original-Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 84128EEE6; Mon, 27 Feb 2006 21:32:55 +0100 (CET) Original-To: martin rudalics X-Yow: Sometimes a TABOO is just a good CIGAR -- or a rare STEAK -- or a dry MARTINI! In-Reply-To: <44035AFC.8060108@gmx.at> (martin rudalics's message of "Mon, 27 Feb 2006 21:03:08 +0100") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) 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:51088 Archived-At: martin rudalics writes: >>>However, it does play a special role in the syntax of regexps, >>>and it is not necessarily a bad thing for users to think of it >>>as a special character. >> There are more characters like this, ie. ':' and '-', which both play = a >> special role in character sets, but not elsewhere. > > My Emacs has > > (regexp-quote "]") =3D> "\\]" > (regexp-quote "-") =3D> "-" > (regexp-quote ":") =3D> ":" > > I do like my Emacs. Bugs can be fixed. Andreas. --=20 Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany PGP key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED= 5 "And now for something completely different."