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: Regular Expressions?



On Fri, Jun 6, 2008 at 10:13 AM, glenn andreas <email@hidden> wrote:
> One other possible solution is to use the JavaScriptCore and make a
> JSStringRef (which works with unichars like NSString), and use JavaScript's
> regex support - that way the results will at least have consistent indices,
> work well with non-ASCII characters, etc...

As long as we're discussing really far out solutions...

There's the Java java.util.regex package. One could write some JNI and
wrap the Java package (only two classes) although you'd have to start
up the VM.

Personally, I like some of the extensions that Java adds to the patterns.
_______________________________________________

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>)



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.