• 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: regexkit [Using NSPredicate to parse strings]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regexkit [Using NSPredicate to parse strings]


  • Subject: Re: regexkit [Using NSPredicate to parse strings]
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 4 Mar 2008 09:50:41 -0800


On 4 Mar '08, at 3:25 AM, Jonathan Dann wrote:

That is a seriously good framework, and the documentation is great too.

My only issue with regexkit is that it uses PCRE instead of ICU.

PCRE has to be compiled into the library, making it larger (whereas ICU is already built into the OS.)

PCRE is also, last I checked, less I18N-savvy than ICU. This has given me grief in the past; I used PRCE-based regex code in a project 3 years ago, and as soon as the Japanese and Korean testers started working with it, they found that the app's text searching didn't work correctly for them. (In a nutshell, PCRE's notion of "alphabetic characters" and "word breaks" only works for Roman writing systems.)

Unfortunately I don't know of a comparable Cocoa regex library that uses ICU. (NSPredicate does, but its support for regexes is very limited, as already discussed in this thread.)

—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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: regexkit [Using NSPredicate to parse strings]
      • From: John Engelhart <email@hidden>
    • Re: regexkit [Using NSPredicate to parse strings]
      • From: glenn andreas <email@hidden>
    • Re: regexkit [Using NSPredicate to parse strings]
      • From: Jonathan Dann <email@hidden>
References: 
 >Using NSPredicate to parse strings (From: Jonathan Dann <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Mike Abdullah <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Jonathan Dann <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Dave Camp <email@hidden>)
 >Re: Using NSPredicate to parse strings (From: Jonathan Dann <email@hidden>)

  • Prev by Date: Re: NSString from wstring
  • Next by Date: Re: How to get an NSString from a non-terminated array of unicode chars (length is known)
  • Previous by thread: Re: Using NSPredicate to parse strings
  • Next by thread: Re: regexkit [Using NSPredicate to parse strings]
  • Index(es):
    • Date
    • Thread