🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #98975

Re: regexp doc

#98975
From: Piet van Oostrum
Date: Wed, 12 Dec 1990 15:47
22 lines
1655 bytes
>>>>> In message <9012111141.AA06198@media-lab.media.mit.edu>, straz@MEDIA-LAB.MEDIA.MIT.EDU (Steve Strassmann) (SS) writes:

SS> Where is the syntax for regexp strings documented? There doesn't seem
SS> to be any online documentation - the info tree (C-h i) and doc (C-h f)
SS> entries for replace-regexp seem like obvious places, but no dice.

The menu entry Regexps has the regexp doc.

File: emacs  Node: Regexps, Prev: Regexp Search, Up: Search, Next: Search Case

Syntax of Regular Expressions
=============================

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

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

-- 
Piet* van Oostrum, Dept of Computer Science, Utrecht University,
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
Telephone: +31 30 531806   Uucp:   uunet!mcsun!ruuinf!piet
Telefax:   +31 30 513791   Internet:  piet@cs.ruu.nl   (*`Pete')
Technical Details
Message-ID: <4504@ruuinf.cs.ruu.nl>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!cs.ruu.nl!piet
References: <9012111141.AA06198@media-lab.media.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,6561b2576b1c9717
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1990-12-12 07:47:45 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!cs.ruu.nl!piet
From: piet@cs.ruu.nl (Piet van Oostrum)
Newsgroups: gnu.emacs.bug
Subject: Re: regexp doc
Message-ID: <4504@ruuinf.cs.ruu.nl>
Date: 12 Dec 90 15:47:45 GMT
References: <9012111141.AA06198@media-lab.media.mit.edu>
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: piet@cs.ruu.nl (Piet van Oostrum)
Distribution: gnu
Organization: Dept of Computer Science, Utrecht University, The Netherlands
Lines: 22
Approved: bug-gnu-emacs@prep.ai.mit.edu
Posted: Wed Dec 12 16:47:45 1990