After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 474134 - Unfinished Glib::Regex API
Unfinished Glib::Regex API
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: general
2.13.x
Other All
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2007-09-06 06:46 UTC by Daniel Elstner
Modified: 2007-09-12 14:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Patch to turn *_full() methods into overloads. (19.17 KB, patch)
2007-09-06 06:53 UTC, Daniel Elstner
none Details | Review

Description Daniel Elstner 2007-09-06 06:46:15 UTC
Glib::Regex, the GRegex wrapper class in glibmm, is incomplete and some functions are inapproriately named.
Comment 1 Daniel Elstner 2007-09-06 06:53:08 UTC
Created attachment 95036 [details] [review]
Patch to turn *_full() methods into overloads.

Changes contained in this patch:

2007-09-06  Daniel Elstner  <danielk@openismus.com>

	* glib/src/regex.{ccg,hg} (Regex): Some cosmetic cleanup.  Also
	replace C-style casts in default argument values with static_cast<>.
	(escape_string): Wrap missing function.
	(match_full): Rename to and add as overloads of match().
	(match_all_full): Rename to and add as overloads of match_all().
	(split_full): Rename to and add as overloads of split().
Comment 2 Murray Cumming 2007-09-12 14:12:53 UTC
Committed.