GLib.MatchInfo.prototype.get_regex

function get_regex(): GLib.Regex {
    // Gjs wrapper for g_match_info_get_regex()
}
  

Returns GLib.Regex object used in match_info. It belongs to Glib and must not be freed. Use GLib.Regex.prototype.ref if you need to keep it after you free match_info object.

Since 2.14

Returns

GLib.Regex object used in match_info