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.
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.