Method

GLibMatchInfoget_regex

Declaration

GRegex*
g_match_info_get_regex (
  const GMatchInfo* match_info
)

Description

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

Returns: GRegex
 

GRegex object used in match_info.

 The caller of the method takes ownership of the data, and is responsible for freeing it.