• 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: NSString and regular expressions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSString and regular expressions (From: Rick Mann <email@hidden>)
 >Re: NSString and regular expressions (From: Dave DeLong <email@hidden>)
 >Re: NSString and regular expressions (From: Rob Keniger <email@hidden>)
 >Re: NSString and regular expressions (From: BareFeet <email@hidden>)
 >Re: NSString and regular expressions (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: Bindings for dictionaries inside of an array
  • Next by Date: Re: Bindings for dictionaries inside of an array
  • Previous by thread: Re: NSString and regular expressions
  • Next by thread: Re: NSString and regular expressions
  • Index(es):
    • Date
    • Thread