Re: How to use regular expressions in XCode Find/Replace
Re: How to use regular expressions in XCode Find/Replace
- Subject: Re: How to use regular expressions in XCode Find/Replace
- From: Paul Summermatter <email@hidden>
- Date: Wed, 12 Aug 2009 12:11:19 -0400
Fritz et al,
Thanks very much for the tip. This will help me a lot.
Along similar lines, other IDEs have this concept of Find and Replace
with a Preserve Case option. Let me explain with an example. Let's
say I have code like:
static NSString *BUYER_DEFAULT_NAME;
NSString *buyerName;
I can do a preserve case find/replace and change buyer to seller,
such that I end up with:
static NSString *SELLER_DEFAULT_NAME;
NSString *sellerName;
Can the same thing be done in XCode? If so, I haven't been able to
find it/figure it out.
Regards,
Paul
On Aug 11, 2009, at 1:47 PM, Fritz Anderson wrote:
On 11 Aug 2009, at 11:51 AM, Paul Summermatter wrote:
Either I'm doing something wrong or XCode doesn't recognize the $1
replacement parameter, because I end up with @synthesize $1 = _$1;
It doesn't. Use \1 instead.
— F
--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/
>
_______________________________________________
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