Terminal.eventCheckRegexSimple

Checks each regex in regexes if the text in and around the position of the event matches the regular expressions. If a match exists, the matched text is stored in matches at the position of the regex in regexes; otherwise NULL is stored there.

class Terminal
bool
eventCheckRegexSimple
(,
RegexVte[] regexes
,,
string[] matches
)

Parameters

event Event
regexes RegexVte[]

an array of vte.Regex

matchFlags uint

PCRE2 match flags, or 0

matches string[]

a location to store the matches

Return Value

Type: bool

TRUE iff any of the regexes produced a match

Meta

Since

0.46