Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!ncar!gatech!udel!rochester!pt.cs.cmu.edu!lancelot.avalon.cs.cmu.edu!asp From: asp@lancelot.avalon.cs.cmu.edu (James Aspnes) Newsgroups: comp.emacs Subject: Re: searching that wrap over lines Message-ID: <4056@pt.cs.cmu.edu> Date: 18 Jan 89 22:01:29 GMT References: <2922@uvacs.cs.Virginia.EDU> Organization: Carnegie-Mellon University, CS/RI Lines: 13 In-reply-to: pausch@uvacs.cs.Virginia.EDU's message of 18 Jan 89 16:10:42 GMT In article <2922@uvacs.cs.Virginia.EDU> pausch@uvacs.cs.Virginia.EDU (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). Isearch will do this, you just have to quote newlines using C-q. E.g.: foo^Q^Jbar matches fjfjfjekf foo bar --