• 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
Advice needed about regex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Advice needed about regex


  • Subject: Advice needed about regex
  • From: Thomas Lachand-Robert <email@hidden>
  • Date: Thu, 23 Oct 2003 21:41:17 +0200

Hi all,

I need to handle a large number of regular expressions in a new Cocoa project, so I could use some advice on the best library to use on Jaguar (and eventually Panther). I need some advanced features like back-references, lookahead, etc., and I particularly need to handle UTF8 strings. So I can't use most basic implementations for regex. So far I found three large libraries, so if you have some details or experiences about them I'm interested:
- "regex" is isntalled by default on Mac OS X, but doesn't seem to handle UTF8: I don't know for sure, since the documentation (man page) is very sparse and confuse. Also it's an alpha version, so is it reliable?
- "pcre" is a well-known library, available via Fink. It does handle UTF8, but not the Unicode classes. Good documentation, but I don't know the performances.
- "perlembed" is also installed by default on Mac OS X, but looks complicated to use; and I don't really need the power of Perl, only regexes. Also I'm not sure if the interpreter will hurt the performances.

Also does anyone know if there are some nice Cocoa wrappers for all these C libraries?

Thanks for any advice,

Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Advice needed about regex
      • From: Karl Kuehn <email@hidden>
    • Re: Advice needed about regex
      • From: Jonathan Wight <email@hidden>
    • Re: Advice needed about regex
      • From: Eric Wang <email@hidden>
    • Re: Advice needed about regex
      • From: Joseph Heck <email@hidden>
  • Prev by Date: Re: newbie question: unsigned index
  • Next by Date: Re: Advice needed about regex
  • Previous by thread: RE: newbie question: unsigned index
  • Next by thread: Re: Advice needed about regex
  • Index(es):
    • Date
    • Thread