• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Filtering out comments in Find results
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Filtering out comments in Find results
      • From: Steve Cronin <email@hidden>
  • Prev by Date: ERROR - upgrade version of xcode
  • Next by Date: Re: Filtering out comments in Find results
  • Previous by thread: Re: ERROR - upgrade version of xcode
  • Next by thread: Re: Filtering out comments in Find results
  • Index(es):
    • Date
    • Thread