GNOME Bugzilla – Bug 434358
g_regex_fetch_named() and g_regex_fetch_named_pos() are broken when G_REGEX_DUPNAMES is used
Last modified: 2007-05-30 05:42:20 UTC
+++ This bug was initially created as a clone of Bug #419376 +++ g_regex_fetch_named() returns wrong result when DUPNAMES is used because it uses g_regex_get_string_number() instead of pcre_get_named_substring().
It would be really cool if you could provide a testcase in the form of a regex-test.c patch.
Created attachment 87356 [details] [review] test case
Created attachment 87358 [details] [review] Fix Here you go.
Fixed in SVN, please mark this bug as fixed.