• 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: 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


  • Follow-Ups:
    • Re: NSString and regular expressions
      • From: BareFeet <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>)

  • Prev by Date: Re: Cahnging bgColor of a UIView not working.
  • Next by Date: Re: [SOLVED] Binding collection view label through two entities
  • Previous by thread: Re: NSString and regular expressions
  • Next by thread: Re: NSString and regular expressions
  • Index(es):
    • Date
    • Thread