setRegexEnabled

open fun setRegexEnabled(regexEnabled: Boolean)

Enables or disables whether to search by regular expressions.

If enabled, the property@SearchSettings:search-text property contains the pattern of the regular expression.

class@SearchContext uses #GRegex when regex search is enabled. See the Regular expression syntax page in the GLib reference manual.

Parameters

regexEnabled

the setting.