From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Hansen Newsgroups: gmane.emacs.devel Subject: Re: How do I get a ] into a reg exp? Date: Wed, 13 Sep 2006 22:16:06 +0200 Organization: disorganized Message-ID: <87d59zmsjd.fsf@robotron.kosmorama> References: <45085FF6.5080403@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158179055 5837 80.91.229.2 (13 Sep 2006 20:24:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Sep 2006 20:24:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 13 22:24:09 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 1GNbGy-0007PI-57 for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 22:23:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNbGx-0000cY-Jw for ged-emacs-devel@m.gmane.org; Wed, 13 Sep 2006 16:23:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNbGm-0000b0-P7 for emacs-devel@gnu.org; Wed, 13 Sep 2006 16:23:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNbGl-0000Yz-Bx for emacs-devel@gnu.org; Wed, 13 Sep 2006 16:23:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNbGl-0000Yv-2d for emacs-devel@gnu.org; Wed, 13 Sep 2006 16:23:39 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GNbIX-0005gZ-Va for emacs-devel@gnu.org; Wed, 13 Sep 2006 16:25:30 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GNbGY-0007L8-1E for emacs-devel@gnu.org; Wed, 13 Sep 2006 22:23:26 +0200 Original-Received: from e178035134.adsl.alicedsl.de ([85.178.35.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Sep 2006 22:23:26 +0200 Original-Received: from david.hansen by e178035134.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Sep 2006 22:23:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 9 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: e178035134.adsl.alicedsl.de Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:5/MXuUYw8Y8D1s6hYGG+BmOQFn4= 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:59805 Archived-At: On Wed, 13 Sep 2006 21:45:58 +0200 Lennart Borgman wrote: > How do I write > > (re-search-forward "[a-z\]]") "[][]" looks odd but works for me. But IMHO that should be "[\\[\\]]". David