Le 21 avr. 05, à 21:12, Yen-Ju Chen a écrit :
I think a regular expression library is a must-have in Etoile. At least LuceneKit need one.
Completely agree !
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.
Hm, it's a modified BSD license (http://www8.ocn.ne.jp/%7esonoisa/OgreKit/license.html) .. Else yes, OgreKit seems nice (for what I understand from the code example, as my japanese isn't
exactly .. hm.. existant :-) -- Nicolas Roard "Any sufficiently advanced technology is indistinguishable from magic." -Arthur C. Clarke
