GLib.Regex.prototype.unref

function unref(): void {
    // Gjs wrapper for g_regex_unref()
}
  

Decreases reference count of regex by 1. When reference count drops to zero, it frees all the memory associated with the regex structure.

Since 2.14