From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: regexp with match over multiple lines Date: Fri, 6 May 2011 00:10:55 +0200 Message-ID: <32F9F98A-EF2D-4133-AB40-13D09B5FB9B8@Web.DE> References: <31548643.post@talk.nabble.com> <3266E1E3-8935-49EE-8102-212C84CBD81A@Web.DE> <31552210.post@talk.nabble.com> <31552810.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1304633476 4111 80.91.229.12 (5 May 2011 22:11:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 May 2011 22:11:16 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: AngusC Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 06 00:11:12 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QI6lK-0006ih-Uu for geh-help-gnu-emacs@m.gmane.org; Fri, 06 May 2011 00:11:11 +0200 Original-Received: from localhost ([::1]:48217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI6lJ-0003Cn-NM for geh-help-gnu-emacs@m.gmane.org; Thu, 05 May 2011 18:11:09 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI6l9-00038n-Iq for Help-gnu-emacs@gnu.org; Thu, 05 May 2011 18:11:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QI6l8-0007ip-L0 for Help-gnu-emacs@gnu.org; Thu, 05 May 2011 18:10:59 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]:42817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI6l8-0007ia-Ev for Help-gnu-emacs@gnu.org; Thu, 05 May 2011 18:10:58 -0400 Original-Received: from smtp01.web.de ( [172.20.0.243]) by fmmailgate02.web.de (Postfix) with ESMTP id 21E1719EC5DE9; Fri, 6 May 2011 00:10:57 +0200 (CEST) Original-Received: from [91.40.78.76] (helo=[192.168.1.2]) by smtp01.web.de with asmtp (WEB.DE 4.110 #2) id 1QI6l7-0002NI-00; Fri, 06 May 2011 00:10:57 +0200 In-Reply-To: <31552810.post@talk.nabble.com> X-Mailer: Apple Mail (2.936) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX1/JwwmFOpDw+LLK7wj1c+v0V9eP4DCOy/qOPPdR aeJGn6mkBG10BmNZ/XNCo/RfxcQqfmjId/wOl2Dqsc3BX5028Z aHGC5BcJahGiJ/W32rkQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80936 Archived-At: Am 05.05.2011 um 20:15 schrieb AngusC: > ]]>^M > > > and I am using: > <\1\[CDATA.*^J*> If you see ^M then you should switch to some DOS or MAC encoding. But what's puzzling me is that not all lines have ^M at the end. Does this work: "]+>"? I think other expressions would become too greedy... BTW, is this \1 what you are really using or is it a typo, actually meaning "!"? (Which isn't special in Lisp, I think.) -- Greetings ~ O Pete ~~_\\_/% ~ O o