• 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: Regex Documentation in Xcode 3.0 ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regex Documentation in Xcode 3.0 ?


  • Subject: Re: Regex Documentation in Xcode 3.0 ?
  • From: Jerry Krinock <email@hidden>
  • Date: Thu, 24 Jan 2008 21:43:59 -0800


On 2008 Jan, 23, at 10:46, Jaime Rios wrote:

http://www.icu-project.org/userguide/regexp.html

The above site says that replacement patterns are symbolized by $0,$1,$2,...
which does not work in Xcode 3. Xcode 3 uses \1,\2,\3,... like BBEdit.
http://regexlib.com/CheatSheet.aspx

The above does not cover replacement patterns; information is copied from Microsoft .NET site.

http://www.perl.com/doc/manual/html/pod/perlre.html which is a good site as well.

Like the ICU site, this site also says incorrectly that replacement patterns are symbolized by $0,$1,$2,... It is correct for perl but not for Xcode 3. Also, it is difficult to find simple facts in this document. This document is mostly geared toward those pursuing academic perl challenges such as one-line cryptography.



So, I still don't know where the Regex documentation for Xcode 3.0 is. The "Grep Reference" in BBEdit's Help menu seems to be the best match to Xcode's behavior.
_______________________________________________
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: Regex Documentation in Xcode 3.0 ?
      • From: Jerry Krinock <email@hidden>
References: 
 >Regex Documentation in Xcode 3.0 ? (From: Jerry Krinock <email@hidden>)
 >Re: Regex Documentation in Xcode 3.0 ? (From: "Jaime Rios" <email@hidden>)

  • Prev by Date: Re: Why does API search for "USBDeviceOpen" return no results?
  • Next by Date: Re: Why does API search for "USBDeviceOpen" return no results?
  • Previous by thread: Re: Regex Documentation in Xcode 3.0 ?
  • Next by thread: Re: Regex Documentation in Xcode 3.0 ?
  • Index(es):
    • Date
    • Thread