Filtering out comments in Find results
Filtering out comments in Find results
- Subject: Filtering out comments in Find results
- From: Steve Cronin <email@hidden>
- Date: Wed, 27 Aug 2008 02:12:03 -0500
Folks;
I use the 'Find' function a reasonable amount in XCode.
I often use 'In Project' - 'Textual' - 'Contains'...
I want is to filter out all results for my textual searches which
occur in commented lines.
The Options button allows one to define a 'Find Set' with a regex
applied as a general filter.
So I've created an 'Exclude' Find Set that uses ^//. Seems to work
for the single line comments
You can see probably see this coming...
What I'm wondering is if there is a way to also filter out those
occurrences within multi-line comments
/*
like this comment
*/
My regular expressions skill are simply not up to even assessing the
task.
I do realize that it is a snit of a problem in its general form!
Thanks for any help,
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden