• 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: Xcode Editor's Regex now uses PCRE instead of ICU?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode Editor's Regex now uses PCRE instead of ICU?


  • Subject: Re: Xcode Editor's Regex now uses PCRE instead of ICU?
  • From: David Ewing <email@hidden>
  • Date: Fri, 7 Mar 2008 15:23:07 -0800


On Mar 7, 2008, at 11:52 AM, Jerry Krinock wrote:

A few weeks ago I found that the remember/replace mechanism in Xcode 3.0's text editor Find/Replace using Regex was following behavior given in BBEdit Help instead of behavior given in the ICU article [1] referred to in the Xcode User Guide. Posted question here but got no reply.

Today, I found that the "not in character set" operator, i.e.,

	[^abc]     // any substring not including a, b, or c

works in Xcode. Again, this operator is defined in BBEdit Help but not in [1].

I've also learned that there are two popular regex engines, ICU and Perl-Compatible (PCRE) [2].

Is it possible that Xcode has changed its regex engine from ICU to PCRE?

Nope. We Use ICU, and that hasn't changed. I can't speak to the documentation, but the caret operator has been standard in Regex's for decades.


Dave


_______________________________________________ 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: Xcode Editor's Regex now uses PCRE instead of ICU?
      • From: Jerry Krinock <email@hidden>
References: 
 >Xcode Editor's Regex now uses PCRE instead of ICU? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Annoying text-editing glitch
  • Next by Date: Re: NSPreferencePane with my own private framework?
  • Previous by thread: Xcode Editor's Regex now uses PCRE instead of ICU?
  • Next by thread: Re: Xcode Editor's Regex now uses PCRE instead of ICU?
  • Index(es):
    • Date
    • Thread