home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!gatech!concert!mcnc!aurs01!klassa
- From: klassa@aurs01.UUCP (John Klassa)
- Newsgroups: comp.emacs
- Subject: Re: regexp help
- Keywords: regexp search
- Message-ID: <60976@aurs01.UUCP>
- Date: 27 Jul 92 17:10:41 GMT
- References: <60974@aurs01.UUCP>
- Sender: news@aurs01.UUCP
- Reply-To: klassa%aurfs1.aur.alcatel.com@rockdal.aud.alcatel.com (John Klassa)
- Organization: Alcatel Network Systems, Raleigh NC
- Lines: 28
-
- In article <60974@aurs01.UUCP>, I write:
-
- >I'm trying to do a *single* regexp search (for use with the 'occur' function)
- >that will find all lines that contain:
- >
- ... stuff deleted ...
-
- I've gotten two responses... To summarize, use either:
-
- \<\(if\|else\)\>[^{^J]*$
- or
- \<\(if\|else\)\>[^{\n]*$
-
- Thanks to those who responded!
-
- John
- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
- <> John Klassa <> Father to son, overheard in a men's room: <>
- <> Sofware Engineer <> "The game will be over in an hour, son." <>
- <> Alcatel Network Systems <> "How long's that, Dad?" <>
- <> Raleigh, NC <> "Sesame Street." <>
- <> (919) 850-1246 <> "Oh." <>
- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
- <> klassa%aurfs1.aur.alcatel.com@rockdal.aud.alcatel.com <>
- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
- <> The attitudes and opinions expressed herein do not necessarily <>
- <> reflect those of my employer... or those of my wife, for that matter. <>
- <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-