getRegexError

open fun getRegexError(): <Error class: unknown class>?

Regular expression patterns must follow certain rules. If property@SearchSettings:search-text breaks a rule, the error can be retrieved with this function.

The error domain is error@GLib.RegexError.

Free the return value with method@GLib.Error.free.

Return

the #GError, or null if the pattern is valid.