From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from emory.mathcs.emory.edu ([128.140.110.1]) by hawkwind.utcs.utoronto.ca with SMTP id <23999>; Thu, 24 Nov 1994 08:45:03 -0500 Received: from skeeve.UUCP by emory.mathcs.emory.edu (5.65/Emory_mathcs.4.0.9) via UUCP id AA06647 ; Thu, 24 Nov 94 08:44:45 -0500 Return-Path: arnold@skeeve.atl.ga.us Received: by skeeve.atl.ga.us (/\==/\ Smail3.1.22.1 #22.1) id ; Thu, 24 Nov 94 08:25 EST Message-Id: Date: Thu, 24 Nov 1994 08:25:00 -0500 From: arnold@skeeve.atl.ga.us (Arnold D. Robbins) To: sam-fans@hawkwind.utcs.toronto.edu Subject: structural regexps just for searching I want to look for function calls where there is a space after the function name and before the left paren. But I like spaces between my keywords and the right paren. I try something like this in the command window: /[a-z0-9_]+ \(/ v/if|for|while|switch|return/ This will find the next match, but the file window does not scroll to show . the way it would for just a plain search. Is there a way to get it to do this? I'm a bit leary of just making a sweeping change , /[a-z0-9_]+ \(/ v/if|for|while|switch|return/ s/ // Although it would probably work ok. Please reply by mail, my home address is not on the list. Thanks, Arnold