On 6/7/08, Michael Ash <email@hidden> wrote:
> Of course Mac OS X does come with a regex library, it just doesn't
> have an ObjC interface. There's more to what's available than Cocoa,
> and one of the great things about ObjC is how easy it is to talk to
> these pure C libraries and get them to do work for you as well.
Many folks see regular expressions as a core part of today's
frameworks (.NET, Java, Ruby, Python). ObjC, admittedly, looks a bit
anemic in this area. There is no blessed solution and so the developer
is required to research each of the many libraries to consider their
pros and cons. Apple provides some libraries, but doesn't support
linking against them (like ICU, which is used by Apple in Xcode but
we've been told don't link against the system library).
While it is always possible to drop down to the pure C libraries, I
see that is an unnecessary step and akin to asking Cocoa developers to
use C libraries to do string manipulation.
For everyone that would like to see Apple add support for regex into
the Cocoa frameworks, I highly recommend filing a bug via
http://bugreporter.apple.com to let Apple know that they need to
assign some engineering effort to this issue.
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