• 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: 3rd Party Nonsense (was Re: Regular Expressions?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: 3rd Party Nonsense (was Re: Regular Expressions?)
      • From: "Mark Munz" <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>)

  • Prev by Date: Re: [Moderator] reminder - WWDC content other than the keynote is covered by NDA
  • Next by Date: crash on command-W
  • Previous by thread: Re: 3rd Party Nonsense (was Re: Regular Expressions?)
  • Next by thread: Re: 3rd Party Nonsense (was Re: Regular Expressions?)
  • Index(es):
    • Date
    • Thread