From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: multiline regex mode? Date: Fri, 13 Oct 2006 22:02:21 +0200 Organization: The Church of Emacs Message-ID: <87bqog6l2q.fsf@hans.local.net> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1160774401 31957 80.91.229.2 (13 Oct 2006 21:20:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Oct 2006 21:20:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 13 23:19:59 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GYURZ-00036K-V8 for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Oct 2006 23:19:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYURZ-0002S3-CO for geh-help-gnu-emacs@m.gmane.org; Fri, 13 Oct 2006 17:19:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GYURA-000255-4Z for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:19:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GYUR7-0001zi-Ji for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:19:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GYUR7-0001ye-Al for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:19:21 -0400 Original-Received: from [212.227.126.187] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GYUZd-0002vA-RS for help-gnu-emacs@gnu.org; Fri, 13 Oct 2006 17:28:10 -0400 Original-Received: from [84.167.14.168] (helo=duenenhof-wilhelm.de) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1GYUR30Jr8-0007i1; Fri, 13 Oct 2006 23:19:17 +0200 Original-Received: by duenenhof-wilhelm.de (Postfix, from userid 1000) id A88B175622; Fri, 13 Oct 2006 22:02:21 +0200 (CEST) Original-To: help-gnu-emacs@gnu.org In-Reply-To: (Giles Chamberlin's message of "Mon\, 09 Oct 2006 13\:57\:38 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:d7ab225b98a136e1c2910381f940ecb9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:38018 Archived-At: Giles Chamberlin writes: > Is it possible to have .* match over a new line? > > I'd like to be able to match > > {foo} > > and > > { > foo > } > > with a regex of the form {.*} without having to specify the line > break. Does this (between the "") "{[^}]*}" work for you? > > Thanks -- Best wishes H. Dieter Wilhelm Darmstadt, Germany