GRegexEvalCallback

Specifies the type of the function passed to Regex.replaceEval. It is called for each occurrence of the pattern in the string passed to Regex.replaceEval, and it should append the replacement to result.

alias GRegexEvalCallback = int function(GMatchInfo* matchInfo, GString* result, void* userData)

Return Value

FALSE to continue the replacement process, TRUE to stop it

Meta

Since

2.14