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.
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.
I am not enough of a C++ wizard to take on such a project, at least not
without a lot of hand-holding, so at this point I'm only wondering:
Would it be possible and acceptable to replace the current OOo
regexp classes with calls to the standard classes
And if so, is there anything I can do to facilitate such a process?
<Joe
Info links:
TR1: http://en.wikipedia.org/wiki/Technical_Report_1
Boost: http://www.boost.org/
5.5 Does libstdc++ support TR1?
http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#5_5
[1] I'm not 100% sure of GNU libstdc++ support status. The summary here:
http://gcc.gnu.org/onlinedocs/libstdc++/ext/tr1.html
lists regex support as "missing" but there is code here:
http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/tr1_2regex.html
so it is at least on track if not already supported.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]