Function
GLibRegexEvalCallback
since: 2.14
Declaration
gboolean
(* GRegexEvalCallback) (
  const GMatchInfo* match_info,
  GString* result,
  gpointer user_data
)
Description [src]
Specifies the type of the function passed to g_regex_replace_eval().
It is called for each occurrence of the pattern in the string passed
to g_regex_replace_eval(), and it should append the replacement to
result.
Available since: 2.14
Parameters
- match_info
- 
            Type: GMatchInfoThe GMatchInfogenerated by the match. Useg_match_info_get_regex()andg_match_info_get_string()if you need theGRegexor the matched string.The data is owned by the caller of the function. 
- result
- 
            Type: GStringA GStringcontaining the new string.The data is owned by the caller of the function. 
- user_data
- 
            Type: gpointerUser data passed to g_regex_replace_eval(). The argument can be NULL.The data is owned by the caller of the function.