Terminal.matchAddRegex
int matchAddRegex(vte.regex.Regex regex, uint flags)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.
Note that regex should have been created using the <literal>PCRE2_MULTILINE</literal> flag.
Parameters
regex | a #VteRegex |
flags | PCRE2 match flags, or 0 |
Returns
an integer associated with this expression