Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 3rd Party Nonsense (was Re: Regular Expressions?)




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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Regular Expressions? (From: "Cemil Browne" <email@hidden>)
 >Re: Regular Expressions? (From: Jason Stephenson <email@hidden>)
 >Re: Regular Expressions? (From: glenn andreas <email@hidden>)
 >Re: Regular Expressions? (From: "Stephen J. Butler" <email@hidden>)
 >Re: Regular Expressions? (From: Ilan Volow <email@hidden>)
 >3rd Party Nonsense (was Re: Regular Expressions?) (From: Jason Stephenson <email@hidden>)
 >Re: 3rd Party Nonsense (was Re: Regular Expressions?) (From: "Kyle Sluder" <email@hidden>)
 >Re: 3rd Party Nonsense (was Re: Regular Expressions?) (From: Jens Alfke <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.