get_regex_error


Description:

public Error? get_regex_error ()

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 [[email protected]].

Free the return value with [[email protected]].

Parameters:

this

a SearchContext.

Returns:

the Error, or null if the pattern is valid.




2022 vala-language.org