Advice needed about regex
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.