SearchSettings.setRegexEnabled

void setRegexEnabled(bool regexEnabled)

Enables or disables whether to search by regular expressions.

If enabled, the gtksource.search_settings.SearchSettings.searchText property contains the pattern of the regular expression.

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

Parameters

regexEnabledthe setting.