• 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: [1.5] RE search and replace failing (Was: basic search and replace failing)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [1.5] RE search and replace failing (Was: basic search and replace failing)


  • Subject: Re: [1.5] RE search and replace failing (Was: basic search and replace failing)
  • From: email@hidden
  • Date: Mon, 2 Jan 2006 13:22:48 -0500

I wish I could move to XCode 2.x. But it requires hOS 10.4 which has compatibility problem with some applications.

I was hoping that this very basic search and replace functionality is there. I am not sure if you are saying that the regular expression does not work at all in the replace part input field of the search & replace dialog, or that it does, but in my example it does not.

On Jan 1, 2006, at 6:19 PM, Fritz Anderson wrote:

Regular expression searches were not all there in Xcode 1.5. They work fine in Xcode 2.x.

   -- F

On 1 Jan 2006, at 11:23 AM, email@hidden wrote:

I am new to XCode 1.5. I am using the standard search and replace function dialog window inside a file (regular expression option selected):
search: (top|middle|bottom)Floor
replace: m\1Floor


search: (top|middle|bottom)Floor
replace: m\1Floor

topFloor
middleFloor
bottomFloor

results:
mm\1Floor
mm\1Floor
mm\1Floor

the variable \1 is not being substituted for, and is being treated as a literal. I tried \\1 $1 etc. all failed. The mathcing is working fine, but the replace field part of the dialog is not being treated as a regular expression.


_______________________________________________ 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
References: 
 >basic search and replace failing (From: email@hidden)
 >Re: [1.5] RE search and replace failing (Was: basic search and replace failing) (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Xcode install hangs
  • Next by Date: Re: Finding Files Buried in Groups
  • Previous by thread: Re: [1.5] RE search and replace failing (Was: basic search and replace failing)
  • Next by thread: Re: Finding Files Buried in Groups
  • Index(es):
    • Date
    • Thread