From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giles Chamberlin Newsgroups: gmane.emacs.help Subject: Re: Multiline regex Date: Tue, 22 Nov 2011 13:11:24 +0000 Organization: Cisco Systems Ltd Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1321967527 31475 80.91.229.12 (22 Nov 2011 13:12:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 22 Nov 2011 13:12:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Nov 22 14:12:03 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 1RSq8o-0003QV-Pc for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 14:12:02 +0100 Original-Received: from localhost ([::1]:34088 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSq8i-00058Y-Bx for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 08:11:56 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSq8b-00058T-6Y for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 08:11:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSq8X-0000ia-6S for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 08:11:49 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:55805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSq8X-0000iT-1V for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 08:11:45 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RSq8R-0003IU-7W for help-gnu-emacs@gnu.org; Tue, 22 Nov 2011 14:11:39 +0100 Original-Received: from 64.103.94.44 ([64.103.94.44]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Nov 2011 14:11:39 +0100 Original-Received: from giles.chamberlin by 64.103.94.44 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Nov 2011 14:11:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 64.103.94.44 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (darwin) Cancel-Lock: sha1:2ZPf+q0xEvGe06SAz0OJ4udmgvo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:83000 Archived-At: Valentin Baciu writes: > You are probably calling the `replace-regexp' interactively. Try to replace > the regexp with: > a\(.* > ?\)*?*b That was exactly it thanks. I was running this interactively and once I fixed the escaping all was well. Off to re-read the regex section of the manual. -- Giles