Re: 3rd Party Nonsense (was Re: Regular Expressions?)
Re: 3rd Party Nonsense (was Re: Regular Expressions?)
- Subject: Re: 3rd Party Nonsense (was Re: Regular Expressions?)
- From: Stuart Malin <email@hidden>
- Date: Mon, 9 Jun 2008 21:36:45 -0700
On Jun 9, 2008, at 9:11 PM, Adam R. Maxwell wrote:
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.
I recall the same. And further, I am of the understanding that
NSPredicate uses ICU for its pattern matching -- can anyone confirm?
~~~
For another regex solution, take a look at Objective PCRE:
http://sourceforge.net/projects/objpcre
For my regex needs, I link in libpcre and use objpcre as the "glue."
objpcre accepts NSString objects for both the regular expression and
the string to be evaluated. Whether (or how) this UTF-16 string is
converted to UTF-8 (which, I believe, is native encoding for pcre),
happens behind the scenes, and so is "invisible" to me.
FWIW. HTH.
_______________________________________________
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