Terminal.matchAddGregex

Adds the regular expression @regex to the list of matching expressions. When the user moves the mouse cursor over a section of displayed text which matches this expression, the text will be highlighted.

More...
class Terminal
int
matchAddGregex

Parameters

gregex Regex

a #GRegex

gflags GRegexMatchFlags

the #GRegexMatchFlags to use when matching the regex

Return Value

Type: int

an integer associated with this expression, or -1 if @gregex could not be transformed into a #VteRegex or @gflags were incompatible

Detailed Description

Deprecated: Use vte_terminal_match_add_regex() or vte_terminal_match_add_regex_full() instead.

Meta