Re: NSString and regular expressions
Re: NSString and regular expressions
- Subject: Re: NSString and regular expressions
- From: BareFeet <email@hidden>
- Date: Fri, 31 Jul 2009 09:03:20 +1000
Hi Rob,
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
Thanks. I tried that, but get 436 fails during compile, starting with
"pcre.h: No such file or directory."
So I copied pcre.h across to my project too but then get more errors
starting with "pcre_internal.h No such file or directory."
If I add all the header files, I still get compile errors, starting
with:
pcre_ucp_searchfuncs.c:48:54:
error: ucptable.c: No such file or directory
So I copied ucptable.c but I get the error:
ucptable.c:4:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'ucp_table'
Can you please clue me in as to how to get AGRegex to work?
Thanks,
Tom
BareFeet
_______________________________________________
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