Re: 3rd Party Nonsense (was Re: Regular Expressions?)
Re: 3rd Party Nonsense (was Re: Regular Expressions?)
- Subject: Re: 3rd Party Nonsense (was Re: Regular Expressions?)
- From: "Adam R. Maxwell" <email@hidden>
- Date: Mon, 9 Jun 2008 20:56:18 -0700
On Jun 9, 2008, at 8:12 PM, Jens Alfke wrote:
On 7 Jun '08, at 10:24 AM, Kyle Sluder wrote:
1) There are certain basics like regex support that people are upset
at Apple for not implementing because it seems like such an important
part of the concept of strings.
Agreed, and I made this argument many times while there. Part of the
problem is the impedance mismatch issue — Apple would want to use
ICU because of its good Unicode support, but the way the ICU APIs
are written generally requires copying the string to a temporary
buffer (especially if you consider thread-safety.) There has been
talk of extending ICU regexps to support plug-in string storage,
which would be more efficient, and as far as I can tell, the whole
regexps-for-Cocoa feature gets hung up on waiting for that, year
after year.
Is this the ICU problem you're talking about?
http://lists.apple.com/archives/Cocoa-dev/2007/Sep/msg00416.html
I thought I read on the Xcode users list that Xcode is using ICU for
regex find-and-replace, so it's too bad the rest of us can't use it.
Unfortunately, I think filing bug reports on this is a waste of time
at this point. I'm still using AGRegex, which is based on a pretty
ancient PCRE, but it's predated by (at least) MOKit and
OFRegularExpression:
http://www.omnigroup.com/mailman/archive/macosx-dev/1998-December/006560.html
So this has been a recurring theme for a few years now...
--
Adam_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden