Terminal.eventCheckRegexSimple

string[] eventCheckRegexSimple(gdk.event.Event event, vte.regex.Regex[] regexes, uint matchFlags)

Like [vte.terminal.Terminal.eventCheckRegexSimple], but returns an array of strings, containing the matching text (or null if no match) corresponding to each of the regexes in regexes.

You must free each string and the array; but note that this is not a null-terminated string array, and so you must not use [glib.global.strfreev] on it.

Parameters

eventa #GdkEvent
regexesan array of #VteRegex
matchFlagsPCRE2 match flags, or 0

Returns

a newly allocated array of strings,

or null if none of the regexes matched