Re: Filtering out comments in Find results
Re: Filtering out comments in Find results
- Subject: Re: Filtering out comments in Find results
- From: Steve Cronin <email@hidden>
- Date: Wed, 27 Aug 2008 02:21:40 -0500
Folks;
Arrgh - I accidently hit send while constructing this email.
Please note that the regex ^// does NOT work to filter out single line
comments!!
SO the question still stands - how to accomplish the 'No Comment'
filter.
I apologize for the noise....
Steve
On Aug 27, 2008, at 2:12 AM, Steve Cronin wrote:
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