On 28 Jul 2009, at 10:26, Alastair Houghton wrote:

On 28 Jul 2009, at 02:02, Rob Keniger wrote:

On 28/07/2009, at 10:38 AM, Dave DeLong wrote:

RegexKit.  Without a doubt.

http://regexkit.sourceforge.net

I use it in about 75% of my projects.

RegexKit is very nice and extremely comprehensive, but it has quite a large footprint and is probably overkill for many uses.

Unfortunately, RegexKit Lite (the stripped-down version) uses the built-in ICU library which uses a syntax quite different to the PCRE that most people are used to.

Since the goal in both ICU and PCRE is to be broadly compatible with Perl regular expression syntax, I think it's an exaggeration to say that the syntax is "quite different". There are things in PCRE that aren't supported in ICU, and vice-versa. And neither of them support everything that is implemented in Perl (partly because you'd have to actually *implement* Perl to do it).

NSPredicate anyone?
The MATCHES operator uses ICU's Regular Expressions package.
http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/Articles/pUsing.html#/ /apple_ref/doc/uid/TP40001794-SW9
Kind regards,

Alastair.

--
http://alastairs-place.net



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/jonathan%40mugginsoft.com

This email sent to jonat...@mugginsoft.com

Jonathan Mitchell

Developer
http://www.mugginsoft.com





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to