Re: Wrapping GRegEx?
- From: Murray Cumming <murrayc murrayc com>
- To: Benoît Dejean <benoit placenet org>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Wrapping GRegEx?
- Date: Mon, 18 Jun 2007 17:34:03 +0200
On Thu, 2007-05-17 at 12:31 +0200, Murray Cumming wrote:
> On Thu, 2007-04-19 at 18:11 +0000, Beno�Dejean wrote:
> > Le jeudi 19 avril 2007 �9:56 +0200, Murray Cumming a �it :
> > > glib 2.13 now has a GRegEx API for doing regular expression matches.
> > > Maybe someone would enjoy trying to wrap that for glibmm.
> >
> > AFAIK, GRegEx wraps pcre. pcre already has a C++ wrapper directly
> > shipped with pcre. Btw, pcrecp is even more complete that pcre API.
Do you have a URL for an API reference, for that?
> > Even if it's not usable as-is (mainly because it has no ustring support)
> > it may be a good source of inspiration.
>
> I still hope that someone can make a start on this.
The latest glibmm version has a Glib::Regex class, but I have not yet
wrapped the methods that use GMatchInfo. This should probably be wrapped
as an iterator. Volunteers are welcome.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]