GLib.Regex.prototype.get_max_lookbehind

function get_max_lookbehind(): Number(gint) {
    // Gjs wrapper for g_regex_get_max_lookbehind()
}
  

Gets the number of characters in the longest lookbehind assertion in the pattern. This information is useful when doing multi-segment matching using the partial matching facilities.

Since 2.38

Returns

the number of characters in the longest lookbehind assertion.