🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98980

Re: regexp doc

#98980
From: Hugh Secker-Walker
Date: Thu, 13 Dec 1990 20:36
18 lines
1198 bytes
>>>> In message <9012111141.AA06198@media-lab.media.mit.edu>, straz@MEDIA-LAB.MEDIA.MIT.EDU (Steve Strassmann) (SS) writes:

SS>>   Specifically, what's the regexp for matching "two or more newlines"?

>>>In article <4504@ruuinf.cs.ruu.nl> piet@cs.ruu.nl (Piet van Oostrum) (PvO) writes:

PvO>   \n\n+ or if you write it in Lisp code "\\n\\n+"


This is incorrect on both counts.

Interactively, (e.g. in the minibuffer) the key sequence for the
regexp is  C-q C-j C-q C-j + 

In lisp code it is the string "\n\n+"

Hugh Secker-Walker
hugh@ear.mit.edu
Technical Details
Message-ID: <1990Dec13.203453.23876@athena.mit.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!hugh

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,8b45e17790186a1d,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-12-14 07:41:58 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ATHENA.MIT.EDU!hugh
From: hugh@ATHENA.MIT.EDU (Hugh Secker-Walker)
Newsgroups: gnu.emacs.bug
Subject: Re: regexp doc
Message-ID: <1990Dec13.203453.23876@athena.mit.edu>
Date: 13 Dec 90 20:36:28 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: Massachusetts Institute of Technology
Lines: 18
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Thu Dec 13 21:36:28 1990