search_set_regex


Description:

[ Version ( since = "0.46" ) ]
public void search_set_regex (Regex? regex, uint32 flags)

Sets the regex to search for.

Unsets the search regex when passed null.

Note that regex should have been created using the PCRE2_MULTILINE flag.

Parameters:

this

a Terminal

regex

a Regex, or null

flags

PCRE2 match flags, or 0