Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!agate!bionet!csd4.milw.wisc.edu!nic.MR.NET!hal!cwjcc!mailrus!cornell!uw-beaver!blake!ogccse!littlei!omepd!merlyn From: merlyn@intelob.intel.com (Randal L. Schwartz @ Stonehenge) Newsgroups: comp.emacs Subject: Re: searching that wrap over lines Keywords: search Message-ID: <4075@omepd.UUCP> Date: 19 Jan 89 20:37:51 GMT References: <2922@uvacs.cs.Virginia.EDU> Sender: news@omepd.UUCP Reply-To: merlyn@intelob.intel.com (Randal L. Schwartz @ Stonehenge) Organization: Stonehenge; netaccess via BiiN, Hillsboro, Oregon, USA Lines: 18 In-reply-to: pausch@uvacs.cs.Virginia.EDU (Randy Pausch) In article <2922@uvacs.cs.Virginia.EDU>, pausch@uvacs (Randy Pausch) writes: | Does anyone have a GNUemacs lisp function handy that allows incremental | string searches to wrap over lines? (I guess this would involve | converting the string search to a regular expression search, so that | the newlines would match, as well as spaces). | | Thanks, | | pausch@virginia.edu Or, you can just invoke ESC-^S (isearch-forward-regexp), and put "\W+" where you want whitespace. I do that all the time. -- Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 on contract to BiiN (for now :-), Hillsboro, Oregon, USA. or ...!tektronix!biin!merlyn HEADER ADDRESS MAY BE UNREPLYABLE if it says merlyn@intelob.biin.com ... Standard disclaimer: I *am* my employer!