• 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
Re: Find-and-replace using regular expressions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find-and-replace using regular expressions


  • Subject: Re: Find-and-replace using regular expressions
  • From: Chris Espinosa <email@hidden>
  • Date: Tue, 30 Jun 2009 15:18:13 -0700


On Jun 30, 2009, at 3:03 PM, Mark Wagner wrote:

How can I do a find-and-replace using a regular expression to decide
what to replace with?  In Perl, I'd use the following:

s/PG_PASCAL \((.*?)\)/$1/g

How would I do this using Xcode?

You'd read the Xcode documentation on "regular expression":

 http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeWorkspace/100-The_Text_Editor/ed_editor_window.html#//apple_ref/doc/uid/TP40002679-SW19

Chris
_______________________________________________
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: Find-and-replace using regular expressions
      • From: Mark Wagner <email@hidden>
References: 
 >Find-and-replace using regular expressions (From: Mark Wagner <email@hidden>)

  • Prev by Date: Re: GC pros and cons
  • Next by Date: Re: Find-and-replace using regular expressions
  • Previous by thread: Find-and-replace using regular expressions
  • Next by thread: Re: Find-and-replace using regular expressions
  • Index(es):
    • Date
    • Thread