match_add_regex
Description:
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 PCRE2_MULTILINE flag.
Parameters:
| this |
a Terminal |
| regex |
a Regex |
| flags |
PCRE2 match flags, or 0 |
Returns:
|
an integer associated with this expression |