GLib.Regex.prototype.get_max_backref

function get_max_backref(): Number(gint) {
    // Gjs wrapper for g_regex_get_max_backref()
}
  

Returns the number of the highest back reference in the pattern, or 0 if the pattern does not contain back references.

Since 2.14

Returns

the number of the highest back reference