• 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: Fritz Anderson <email@hidden>
  • Date: Sun, 1 Jan 2006 17:19:58 -0600

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


  • Follow-Ups:
    • Re: [1.5] RE search and replace failing (Was: basic search and replace failing)
      • From: email@hidden
References: 
 >basic search and replace failing (From: email@hidden)

  • Prev by Date: Re: iCode development tool
  • Next by Date: Xcode install hangs
  • Previous by thread: basic search and replace failing
  • Next by thread: Re: [1.5] RE search and replace failing (Was: basic search and replace failing)
  • Index(es):
    • Date
    • Thread