On Di, 2011-10-18 at 20:25 +0200, Patrick Ohly wrote:
On Tue, 2011-10-18 at 17:10 +0100, Peter Robinson wrote:
> What about pcre? Its fairly low level and used by quite a few OS
> features (at least in Fedora) and the configure for syncevolution
> already explicitly checks for it so it looks like syncevolution
> already uses it somewhere.
I thought it was limited to only matching. Checking again I find, at
least in the C++ bindings, also a Replace() operation. It's a bit more
limited than boost::Xpressive (cannot provide a callback for the
replace, only supports \0-9 in the replacement string). One point in
favor of pcre is UTF-8 support.
Thanks for the reminder, pcre indeed might be suitable.
For the record, I started to use pcre.
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.