Terminal.eventCheckGregexSimple

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
eventCheckGregexSimple

Parameters

event Event

a #GdkEvent

regexes Regex[]

an array of #GRegex

matchFlags GRegexMatchFlags

the #GRegexMatchFlags to use when matching the regexes

matches string[]

a location to store the matches

Return: %TRUE iff any of the regexes produced a match

Meta