SearchSettings.setRegexEnabled

void setRegexEnabled(bool regexEnabled)

Enables or disables whether to search by regular expressions. If enabled, the #GtkSourceSearchSettings:search-text property contains the pattern of the regular expression.

#GtkSourceSearchContext uses #GRegex when regex search is enabled. See the

Regular expression syntax

page in the GLib reference manual.

Parameters

regexEnabledthe setting.