Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best regex library for iphone sdk app? [closed]

I'm confused about the regex libraries that are available in the iPhone SDK. For example RegexLite looks like it needs a dynamic link, and from what I understand, this is not possible for the SDK on the iPhone.

I want a RegEx library for data validation... which one is the best available?

like image 400
mamcx Avatar asked Jan 14 '09 21:01

mamcx


3 Answers

Just want to add here that iOS 4 now has NSRegularExpression.

like image 144
Marc Rochkind Avatar answered Oct 05 '22 12:10

Marc Rochkind


John Englehart (regexkitlite developer) has posted to cocoa-dev saying that apps are being rejected for using it. http://lists.apple.com/archives/Cocoa-dev/2010/Jun/msg00564.html

(Apologies for this purporting to be an "answer", it would be a reply to Kendall Helmstetter Gelner if only I had 49 more reputation points).

like image 40
bonaldi Avatar answered Oct 05 '22 13:10

bonaldi


RegexKitLite is available and works properly on iPhone either included from source as part of your Xcode project or by linking in a static library (which the ToS of the SDK do permit).

like image 39
wisequark Avatar answered Oct 05 '22 11:10

wisequark