incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathias Bauer <Mathias_Ba...@gmx.net>
Subject Re: RegExp replacement (was Re: Some more strange files in the OOo code)
Date Fri, 24 Jun 2011 08:11:43 GMT
On 24.06.2011 00:35, Eike Rathke wrote:
> Hi Pedro,
>
> On Thursday, 2011-06-23 12:39:49 -0700, Pedro F. Giffuni wrote:
>
>> OpenOffice has a C++ interface to GNU regex so Google's
>> RE2 seemed like a natural fit there. Unfortunately I see
>> TextSearch::RESrchBkwrd in textsearch.cxx so I assume we
>> need backreferences. The Re2 website says:
>>
>> "If you absolutely need backreferences and generalized
>> assertions, then RE2 is not for you, but you might be
>> interested in irregexp, Google Chrome's regular expression
>> engine."
>
> I strongly propose to go for ICU's RE instead. OOo already makes heavy
> use of ICU, the ICU REs support Unicode conforming to TR18
> http://www.unicode.org/reports/tr18/ and seem to have all we need. See
> http://userguide.icu-project.org/strings/regexp
>
>    Eike
>

Eike, while we are at regexp: do you know something about

boost/Regex_Experimental.tar.gz

Regards,
Mathias

Mime
View raw message