Hi Joe, On Thursday, 2007-05-17 13:45:39 -0400, Joe Smith wrote:
> I would dearly love to see OOo's regexp support get a solid foundation. > The current implementation is based on a GNU regexp library from 1999, > modified for OOo. This library is generally adequate but suffers from > many glitches in syntax and semantics. Indeed.. > In poking around a bit this week, I found that the standard C++ library > (currently a draft standard called "TR1") now includes regexp classes. > There are already two open-source implementations of this standard > library, including regexp support: GNU libstdc++[1] and Boost, so the > main effort would be adapting the standard classes for OOo's API. Actually, now that we upgraded to ICU 3.6, the way to go would be to use ICU regexps http://www.icu-project.org/userguide/regexp.html instead, the main advantages being they are fully internationalized and Unicode aware, quite complete, and we already use ICU for i18n purposes. The GNU libstdc++ code won't do anyway because it is GPL, not LGPL. Not sure about the Boost state today, but last time I looked (admittedly some years ago) it was cumbersome to use, didn't even compile on all platforms, and i18n support was poor. Eike -- OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer. OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't send personal mail to this [EMAIL PROTECTED] account, which I use for mailing lists only and don't read from outside Sun. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
