Terminal.matchAddRegex

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.

class Terminal
int
matchAddRegex
(
RegexVte regex
,
uint flags
)

Parameters

regex RegexVte

a #VteRegex

flags uint

PCRE2 match flags, or 0

Return: an integer associated with this expression

Meta

Since

0.46