Method

GLibMatchInfoget_regex

since: 2.14

Declaration [src]

GRegex*
g_match_info_get_regex (
  const GMatchInfo* match_info
)

Description [src]

Returns GRegex object used in match_info. It belongs to Glib and must not be freed. Use g_regex_ref() if you need to keep it after you free match_info object.

Available since: 2.14

Return value

Type: GRegex

GRegex object used in match_info.

The returned data is owned by the instance.