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

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


  • Subject: Xcode Editor's Regex now uses PCRE instead of ICU?
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 7 Mar 2008 11:52:30 -0800

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?

Jerry Krinock

[1] http://www.icu-project.org/userguide/regexp.html
[2] http://www.pcre.org/
_______________________________________________
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: David Ewing <email@hidden>
  • Prev by Date: Re: HELP! - Database questions
  • Next by Date: Re: Xcode 3.0 linking error
  • Previous by thread: No device connected in XCode 3.1
  • Next by thread: Re: Xcode Editor's Regex now uses PCRE instead of ICU?
  • Index(es):
    • Date
    • Thread