SearchContext.getRegexError

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

The error domain is glib.types.RegexError.

Free the return value with glib.error.ErrorG.free.

class SearchContext
getRegexError
()

Return Value

Type: glib.error.ErrorG

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