Method
GLibMatchInfofetch_named
since: 2.14
Declaration [src]
gchar*
g_match_info_fetch_named (
const GMatchInfo* match_info,
const gchar* name
)
Description [src]
Retrieves the text matching the capturing parentheses named name
.
If name
is a valid sub pattern name but it didn’t match anything
(e.g. sub pattern “X”, matching “b” against “(?P
The string is fetched from the string passed to the match function, so you cannot call this function after freeing the string.
Available since: 2.14