Re: NSString and regular expressions
Re: NSString and regular expressions
- Subject: Re: NSString and regular expressions
- From: Rob Keniger <email@hidden>
- Date: Thu, 30 Jul 2009 17:49:57 +1000
On 30/07/2009, at 2:51 PM, BareFeet wrote:
You might want to look at AGRegex which is very compact (one class)
and which uses PCRE:
http://colloquy.info/project/browser/trunk/Frameworks/AGRegex
Thanks for the tip. Have you been able to get this to work?
Do we add the framework or the AGRegex files (and PCRE folder) to
our own project? I've tried both and can't get it to work. I can't
find any instructions in the documentation on adding it correctly to
your own project.
I personally just compile the files directly into my project.
You need AGRegex.h and AGRegex.m but you should only compile the
following files from the pcre distribution:
pcre_chartables.c
pcre_compile.c
pcre_exec.c
pcre_fullinfo.c
pcre_get.c
pcre_globals.c
pcre_info.c
pcre_ord2utf8.c
pcre_tables.c
pcre_try_flipped.c
pcre_ucp_searchfuncs.c
pcre_valid_utf8.c
pcre_xclass.c
--
Rob Keniger
_______________________________________________
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