Le 23 avr. 05, à 16:47, Yen-Ju Chen a écrit :
On 4/23/05, Nicolas Roard <[EMAIL PROTECTED]> wrote:
Le 21 avr. 05, à 21:12, Yen-Ju Chen a écrit :
There are couple choices:
1. The built-in regex library.
Pro: no other dependency.
Con: it behaves differently on different platforms.
(FreeBSD is posix regex, Linux is GNU regex).
2. PCRE (pcre.org).
Pro: Used by many other projects. BSD license.
Con: dependency.
3. Oniguruma (http://www.geocities.jp/kosako3/oniguruma/).
Pro: A cocoa kit
(http://www8.ocn.ne.jp/%7esonoisa/OgreKit/index.html) exists already.
BSD license.
Support many encoding.
Con: dependency.
I personally prefer Oniguruma/OregKit though.
I was myself thinking about MOKit Regex classes (there are other
interesting classes in MOKit, I will comment them in a next mail).
MOKit is bundled with its own regex implementation and it offers cool
stuff like Regex formatters and classes are well documented… but I
admit I don't know about OgreKit API
MOKit web site : http://mokit.sourceforge.net/index.html
And there is also AGRegex a PCRE wrapper :
http://sourceforge.net/projects/agkit
Take a look also at :
http://www.cocoadev.com/index.pl?RegularExpressions
Else yes, OgreKit seems nice (for what I understand from the code
example, as my japanese isn't
exactly .. hm.. existant :-)
Then the next question is the policy of external dependency:
will Etoile have a copy of it or user have to install their own in
order to use Etoile ?
I think we are going to mirror most of external frameworks to be
included with Étoilé (at least initially), unless they are already
(like GNUstep) packaged for various BSD and Linux packages system.
Quentin.
--
Quentin Mathé
[EMAIL PROTECTED]