On 18 Nov 2010, at 13:30, Quentin Mathé wrote:

> Le 18 nov. 2010 à 00:15, Stef Bidi a écrit :
> 
>> As for Etoile, I like a lot of the stuff they have but that dependency on 
>> oniguruma is killing me.  Not even Debian has that library in its repos, and 
>> Debian almost has everything.
> 
> Ubuntu has a libonig package, so I doubt Debian doesn't have one.
> 
> However I think we are going to move away from OgreKit at some point now that 
> Apple has added NSRegularExpression to Foundation. The Apple API is nice and 
> simple, which is a good thing given the highly complex OgreKit API (e.g. the 
> OGXXXString classes). The positive side of OgreKit is that it comes with a 
> powerful Find/Replace panel which we would have to rewrite if we switch to 
> NSRegularExpression.
> 
> For NSRegularExpression API, see 
> http://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSRegularExpression_Class/Reference/Reference.html

Looks like it should be pretty easy to implement - it's a very thin wrapper 
around the libicu unicode regex stuff, and we're already using ICU in NSLocale 
and Eric's just added some extensions to NSPredicate that use this exact API.  

David
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to