I tried GNU grep 2.0d, using this: *\n[^#(/]*class* This is intended to ensure that the word class is not preceded on the line with #, ( or /.
This gave me 15 matches like: *UpdateStatusForm.cs:62: /// A public method to get a singleton instance of this class and display it.* *UserViewSettingManager.cs:70: #region UserViewSettings class* *VListControl.cs:462: message = uiFontRegex.Replace(message, "$1");* Why do I still get lines with (, # and / ? Is this a bug or am I doing something wrong? thanks, Todd Hoatson