GLib.Regex.prototype.ref

function ref(): GLib.Regex {
    // Gjs wrapper for g_regex_ref()
}
  

Increases reference count of regex by 1.

Since 2.14

Returns

regex