Xcode Editor's Regex now uses PCRE instead of ICU?
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