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: Sun, 26 Feb 2006 18:56:16 +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> 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 1141008014 12876 80.91.229.2 (27 Feb 2006 02:40:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2006 02:40:14 +0000 (UTC) Cc: Luc Teirlinck , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 27 03:40:11 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 1FDYIz-0006MM-Hf for ged-emacs-devel@m.gmane.org; Mon, 27 Feb 2006 03:40:09 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDYJ0-0004OQ-UK for ged-emacs-devel@m.gmane.org; Sun, 26 Feb 2006 21:40:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FDQ8M-0000hQ-1g for emacs-devel@gnu.org; Sun, 26 Feb 2006 12:56:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FDQ8D-0000d8-22 for emacs-devel@gnu.org; Sun, 26 Feb 2006 12:56:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FDQ8A-0000bm-RW for emacs-devel@gnu.org; Sun, 26 Feb 2006 12:56:26 -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 1FDQ8g-0008Jl-UX for emacs-devel@gnu.org; Sun, 26 Feb 2006 12:56:59 -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 9CE56E7CC; Sun, 26 Feb 2006 18:56:18 +0100 (CET) Original-To: martin rudalics X-Yow: I HAVE a towel. In-Reply-To: <4401E0F2.7030800@gmx.at> (martin rudalics's message of "Sun, 26 Feb 2006 18:10:10 +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:51001 Archived-At: martin rudalics writes: >> It is part of it, just like the leading '['. > > As a consequence, in your model "[" is a valid regexp too. Where did I write that? Please expand. >> This is wrong. Outside of a character set ']' has no special meaning >> whatsoever, independent of the context. > > On a similar footing you can say that `*' has no special meaning unless > it's preceded by a character. Why do you think I would say that? Please expand. > Please fix it. You are free to contribute patches. 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."