GLib.MatchInfo.prototype.get_string

function get_string(): String {
    // Gjs wrapper for g_match_info_get_string()
}
  

Returns the string searched with match_info. This is the string passed to GLib.Regex.prototype.match or GLib.Regex.prototype.replace so you may not free it before calling this function.

Since 2.14

Returns

the string searched with match_info