GLib.MatchInfo.prototype.next

function next(): Boolean {
    // Gjs wrapper for g_match_info_next()
}
  

Scans for the next match using the same parameters of the previous call to GLib.Regex.prototype.match_full or GLib.Regex.prototype.match that returned match_info.

The match is done on the string passed to the match function, so you cannot free it before calling this function.

Since 2.14

Returns

true is the string matched, false otherwise