From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Buchs, Kevin" Newsgroups: gmane.emacs.help Subject: RE: Help with regex including newline Date: Thu, 29 Mar 2012 09:37:44 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333031891 30100 80.91.229.3 (29 Mar 2012 14:38:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Mar 2012 14:38:11 +0000 (UTC) To: , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 29 16:38:09 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SDGUL-0004IG-0n for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Mar 2012 16:38:09 +0200 Original-Received: from localhost ([::1]:52205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDGUK-0000cI-0O for geh-help-gnu-emacs@m.gmane.org; Thu, 29 Mar 2012 10:38:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDGU9-0000b0-Ff for help-gnu-emacs@gnu.org; Thu, 29 Mar 2012 10:38:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDGU2-00029m-Fi for help-gnu-emacs@gnu.org; Thu, 29 Mar 2012 10:37:57 -0400 Original-Received: from mail10.mayo.edu ([129.176.212.47]:1294) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDGU2-00027z-BR for help-gnu-emacs@gnu.org; Thu, 29 Mar 2012 10:37:50 -0400 X-IronPort-AV: E=Sophos;i="4.73,668,1325484000"; d="scan'208";a="145013811" Original-Received: from roedlp005a.mayo.edu (HELO mail10.mayo.edu) ([129.176.158.0]) by ironport10-dlp.mayo.edu with ESMTP; 29 Mar 2012 09:37:46 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAPNydE+BsNQ1/2dsb2JhbABEuRCBB4ILBScJClEBCCIGGAdXAQQBCRGIArItiQmQPGMEiFiNCZAugwU X-IronPort-AV: E=Sophos;i="4.73,668,1325484000"; d="scan'208";a="145013806" Original-Received: from mhro1a.mayo.edu ([129.176.212.53]) by ironport10.mayo.edu with ESMTP; 29 Mar 2012 09:37:46 -0500 Original-Received: from smtprelay.mayo.edu (smtprelay2.mayo.edu [192.168.48.11]) by mhro1a.mayo.edu with ESMTP id BT-MMP-1239317; Thu, 29 Mar 2012 09:37:45 -0500 Original-Received: from MACE.mayo.edu (mace.mayo.edu [129.176.215.134]) by smtprelay.mayo.edu (8.12.11/8.12.11) with ESMTP id q2TEbjLc006228; Thu, 29 Mar 2012 09:37:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with regex including newline thread-index: Ac0NuS0kVsajvoDTTLeAyT9NIyyKHQ== X-CFilter-Loop: Reflected X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 129.176.212.47 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:84209 Archived-At: | Using M-x re-builder, I came up with the following regexp: | | Note that the '^j' is actually entered by typing 'C-q C-j'. Greg, the RE looks correct. I've not used re-builder, but I wonder how you transfer the RE to the command prompt. If you yank it, will the ^j be the same as C-q C-j entered at that prompt? I think that may need to be entered interactively that way. - Kevin